Skip to content

[Bug Report] convert_mjcf.py not working for G1 #2231

Closed

Description

@tylerlum

I am trying to convert the G1 to USD from the unitree_ros repo (https://github.com/unitreerobotics/unitree_ros/tree/master/robots/g1_description)

When I run the following:

./isaaclab.sh -p scripts/tools/convert_mjcf.py \
  <path/to/unitree_ros>/robots/g1_description/g1_29dof_with_hand_rev_1_0.xml \ 
  source/isaaclab_assets/data/Robots/G1_mjcf_to_usd/g1_29dof_with_hand_rev_1_0.usd \      
  --import-sites \
  --make-instanceable

I get the following G1 (its hands look weird and its head is missing):
Image

More detailed info of what is shown:
Image

This is what I get when I visualize the same xml file in mujoco-python-viewer (https://github.com/rohanpsingh/mujoco-python-viewer) (it looks fine, so the xml should be fine):
Image

Let me know if I did anything wrong in the command above.

Activity

  1. tylerlum commented on Apr 2, 2025

    @tylerlum
    ContributorAuthor

    For reference, it worked for the urdf.

    ./isaaclab.sh -p scripts/tools/convert_urdf.py \
      <path/to/unitree_ros>/robots/g1_description/g1_29dof_with_hand_rev_1_0.urdf \
      source/isaaclab_assets/data/Robots/G1_urdf_to_usd/g1_29dof_with_hand_rev_1_0.usd \
      --merge-joints \
      --joint-stiffness 0.0 \
      --joint-damping 0.0 \
      --joint-target-type none
    

    Image

    Image

    Image

  2. RandomOakForest commented on Apr 3, 2025

    @RandomOakForest
    Collaborator

    Thank you for posting this. The team will review.

  3. added
    bug
    on Apr 3, 2025
  4. AntoineRichard commented on Aug 27, 2026

    @AntoineRichard
    Collaborator

    @tylerlum thanks for reporting the broken G1 MJCF conversion, with the exact command line — that made this easy to place.

    convert_mjcf.py has since been reworked onto the latest Isaac Sim MJCF importer (#5394 and #5889), with a different flag set: the --import-sites and --make-instanceable options in your command no longer exist, and the converter now emits asset-transformer output.

    Closing as stale against the current tooling — please reopen with a fresh run on Isaac Lab 3.x if the G1 model still comes out with missing or wrong geometry.


    🤖 This issue was reviewed as part of an AI-assisted triage of the Isaac Lab backlog, with automated verification against the current codebase. If we got this wrong, please reopen — we'd rather hear about it!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions