RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.25k stars 1.26k forks source link

[multibody] Provide basic support for MuJoCo MJCF xml format #16369

Closed RussTedrake closed 2 years ago

RussTedrake commented 2 years ago

I've written a basic MJCF parser and am opening this issue to document my PR strategy and progress. Reviewers will want to use the MuJoCo documentation, especially the XML scheme here.

General strategy:

Initial PR train:

DamrongGuoy commented 2 years ago

Does this mean, in some examples, we'll have side-by-side comparisons of MuJoco and Drake?

RussTedrake commented 2 years ago

My goal here is to make models/environments/assets authored for MuJoCo available in Drake.

If it also enables side-by-side comparisons, that is of course fantastic. But that will require running MuJoCo separately. This issue has nothing to do with connecting to the mujoco source code nor library, only parsing the description format.