Skip to content

Issues when adding new robot model #25

@tom57-design

Description

@tom57-design

Hi Team,
Thanks for the amazing work!
I've tried out Go2 & H1 examples and they work pretty well!
Right now I try to add Unitree G1 model into this framework by doing the corresponding modifications (added mjcf & use the same settings, created env for the new G1 example, created config yaml for the new G1 example, commented out the unused joints for locomotion in mjcf, matched the DoF for the G1 robot in env script, commented out the unnecessary collision geom to make it simpler, ... etc).

However, after running:

dial-mpc --config ../examples/unitree_g1_loco.yaml --custom-env unitree_g1_env

the rendering result shows that G1 robot ended up walking on both knees and toes (when using the capsule collision geom for the entire legs)

Image

Image

On the contrary, if I only use capsule collision geom on the left_foot & right_foot like what you folks did in H1 mjcf, meaning it only uses capsule collision geom on the foot pedals, my G1 robot would walk on foot normally for the first few seconds, but then the G1 robot will disappear and the visualizer will turn grey (the printout in the terminal also says reward = na in this case).

Image

using only foot pedal capsule collision geom, reward shows nan:

Image

using only foot pedal capsule collision geom, in the beginning G1 still stands up:

Image

and then it would turn grey in visualizer:

Image

So, I want to know what should I do to make the G1 robot walk on foot (not using knee) and perhaps only using the capsule collision geom on the foot while achieving reasonable reward?

Thank you for your time and effort! Looking forward to know the solutions!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions