mingfeisun / DeepMimic_mujoco

DeepMimic Mujoco version; Python only; No Bullet, No C++
103 stars 23 forks source link

How do you generate the humanoid3d.txt into .xml files? #7

Closed harrison84125 closed 3 years ago

harrison84125 commented 3 years ago

As the title tells, I'm curious about this. Since I'm trying to transform the deepmimic character file into urdf format, searching for some methods.

mingfeisun commented 3 years ago

Hey, thanks for asking this. As far as I know, there was no automatic way to translate deepmimic txt file into urdf when this project was developed. So the xml model file in this repo was "handcrafted", using humanoid3d.txt as the reference but adding changes to best adapt to Mujoco simulator. You might see there are some difference between these two models if you check the xml in detail. For urdf model, you can google how it can be translated from mujoco xml file (there should be ways to do that and I also saw some projects did that). Best luck!

harrison84125 commented 3 years ago

Thanks! You give a clear thought on my question. Now I'm working on different character, and I think I should also "handcraft" the file better. Keep going!