Skip to content

Conversation

jonzamora
Copy link
Contributor

@jonzamora jonzamora commented Aug 27, 2025

Hi,

This PR updates the MJCF path of the Unitree G1 robot from g1.xml to g1_with_hands.xml.

The purpose is so users can interact directly with the G1 and its supported 3-finger hands, which is an important use-case for the G1 (e.g. for manipulation tasks).

Besides this, the g1.xml has "rubber hands" that have no collisions, so they aren't useful for manipulation tasks at this time.

@coveralls
Copy link

coveralls commented Aug 27, 2025

Pull Request Test Coverage Report for Build 17425766804

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.002%) to 98.126%

Totals Coverage Status
Change from base Build 17424735913: 0.002%
Covered Lines: 1204
Relevant Lines: 1227

💛 - Coveralls

Copy link
Member

@stephane-caron stephane-caron left a comment

Choose a reason for hiding this comment

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

Thank you for starting this 👍

Let's make this a variant, rather than update the default description? This would be consistent since both are provided by Menagerie.

This need is related to the ongoing discussion on variants: variants are not available for all kinds of descriptions yet, but they are available for MJCF descriptions thanks to #76 so we could use it here:

        model = load_robot_description("g1_mj_description", variant="g1_with_hands")

We could even add a show_g1_with_hands.py example so that the feature is easier to discover.

@jonzamora
Copy link
Contributor Author

jonzamora commented Sep 3, 2025

@stephane-caron Great suggestion! I was thinking of the same thing re: making a variant for the G1. I've gone ahead and updated the PR with your suggestion 🚀 😄

@stephane-caron stephane-caron merged commit 4f9c3ad into robot-descriptions:main Sep 3, 2025
15 checks passed
@stephane-caron
Copy link
Member

stephane-caron commented Sep 3, 2025

All good, thank you 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants