Caltech-AMBER / ambersim

In-house tools built on GPU-accelerated simulation
MIT License
7 stars 2 forks source link

Add Actuators when Parsing URDF #20

Closed alberthli closed 12 months ago

alberthli commented 1 year ago

When mujoco converts URDFs to XMLs, it drops the actuators, which causes the model to have no motors. This PR manually parses the URDF and adds them back into the XML post-hoc.

[NOTE] This PR also adds support for mimic joint parsing to handle underactuated systems. However, these commits are currently failing checks because #21 is not merged yet. So, the changes are commented out until then.