rohanpsingh / mc_mujoco

MuJoCo interface for mc-rtc
https://arxiv.org/abs/2209.00274
BSD 2-Clause "Simplified" License
81 stars 18 forks source link

Multiple fixes for loading external objects #43

Closed gergondet closed 1 year ago

gergondet commented 1 year ago

This PR addresses the issues raised in #39:

For now we still don't allow a mismatch between the kinematic structure in mc_rtc and the kinematic structure in the corresponding MuJoCo model, this would require a little extra work to handle the gaps in qpos/qvel

rohanpsingh commented 1 year ago

Does this address additional objects that have multiple joints? (say one floating base and some hinge joints)

gergondet commented 1 year ago

Hi @rohanpsingh

Does this address additional objects that have multiple joints? (say one floating base and some hinge joints)

Yes. Here's an example where the only things loaded via mc_rtc are the standing JVRC1 robot and the ground:

Screenshot from 2023-05-22 11-43-04

Other than that:

rohanpsingh commented 1 year ago

Awesome!