Skip to content

LLM Version #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

LLM Version #32

wants to merge 9 commits into from

Conversation

gioelemo
Copy link
Collaborator

This PR includes the following:

  • Use custom starting position and starting angle for the Agent
  • Slightly adapted visualization script to include more than one Agent (passed as additional information).
  • Minor changes for LLM version (see PR in terra-baselines)

The executables

DATASET_PATH=/path/to/dataset DATASET_SIZE=<num_maps_per_type> python -m terra.viz.main_manual

and

DATASET_PATH=/path/to/dataset DATASET_SIZE=<num_maps_per_type> python -m terra.viz.play

should work as before

@gioelemo gioelemo requested review from Idate96 and Copilot July 29, 2025 15:26
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for custom agent positioning and angles to the Terra environment for LLM integration. It modifies the environment to accept optional custom starting positions and angles for agents while maintaining backward compatibility with existing behavior.

  • Support for custom agent starting positions and angles throughout the environment pipeline
  • Enhanced visualization system to handle multiple agents with additional information
  • Configuration updates to support different map paths and reduced curriculum levels

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
terra/viz/main_manual.py Adds custom position and angle parameters to environment reset
terra/viz/game/game.py Extends visualization to support multiple agents and partition rendering
terra/state.py Passes custom position/angle parameters through state initialization
terra/env.py Updates environment reset to accept and handle custom agent parameters
terra/config.py Modifies curriculum configuration paths and comments out unused levels
terra/agent.py Implements custom positioning logic with validation and fallback mechanisms

gioelemo and others added 4 commits July 29, 2025 17:30
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant