Skip to content

Conversation

@wensi-ai
Copy link
Contributor

No description provided.

@wensi-ai wensi-ai self-assigned this Oct 20, 2025
@Copilot Copilot AI review requested due to automatic review settings October 20, 2025 21:01
@wensi-ai wensi-ai added the bug Something isn't working label Oct 20, 2025
@wensi-ai wensi-ai requested review from cgokmen and hang-yin and removed request for Copilot and hang-yin October 20, 2025 21:01
@Copilot Copilot AI review requested due to automatic review settings October 20, 2025 23:11
Copy link
Contributor

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 a new HeavyRobotWrapper for evaluation purposes and fixes documentation issues. The wrapper configures the robot with a heavier base mass (250kg) and low-resolution RGB observations to match data collection settings.

  • Adds HeavyRobotWrapper class that sets robot base mass to 250kg and uses 224x224 RGB observations
  • Updates documentation to clarify which wrappers are allowed in standard vs privileged tracks
  • Exports the new wrapper in the module's public API

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
OmniGibson/omnigibson/learning/wrappers/heavy_robot_wrapper.py New wrapper implementation that configures heavy robot base and low-res sensors
OmniGibson/omnigibson/learning/wrappers/init.py Adds HeavyRobotWrapper to module exports
docs/challenge/evaluation.md Updates documentation with corrected track eligibility and HeavyRobotWrapper description

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@wensi-ai wensi-ai requested a review from Copilot October 20, 2025 23:15
Copy link
Contributor

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

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

def __init__(self, env: Environment):
super().__init__(env=env)
# Note that from eval.py we already set the robot to include rgb + depth + seg_instance_id modalities
# Here, we modify the robot observation to include only rgb modalities, and use 224 * 224 resolution
Copy link

Copilot AI Oct 20, 2025

Choose a reason for hiding this comment

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

The comment states 'include only rgb modalities', but the code doesn't explicitly remove depth and seg_instance_id modalities mentioned in line 18. The comment should clarify that sensor resolution is being modified rather than modality filtering, or the code should explicitly set the modalities if that's the intent.

Copilot uses AI. Check for mistakes.
with og.sim.stopped():
robot.base_footprint_link.mass = 250.0 # increase base mass to 250kg
# Update robot sensors:
for camera_id, camera_name in ROBOT_CAMERA_NAMES["R1Pro"].items():
Copy link

Copilot AI Oct 20, 2025

Choose a reason for hiding this comment

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

The robot type 'R1Pro' is hardcoded. Consider using robot.name or similar dynamic approach to support different robot types, or add validation that the robot is indeed an R1Pro.

Suggested change
for camera_id, camera_name in ROBOT_CAMERA_NAMES["R1Pro"].items():
robot_type = getattr(robot, "name", None)
if robot_type not in ROBOT_CAMERA_NAMES:
raise ValueError(f"Robot type '{robot_type}' not found in ROBOT_CAMERA_NAMES. Available types: {list(ROBOT_CAMERA_NAMES.keys())}")
for camera_id, camera_name in ROBOT_CAMERA_NAMES[robot_type].items():

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant