rohanpsingh / mc_mujoco

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

Embed mc_rtc GUI inside mc_mujoco #5

Closed gergondet closed 3 years ago

gergondet commented 3 years ago

This PR embeds mc_rtc GUI inside the mc_mujoco scene

Use mc-rtc/mc_rtc-imgui to implement most of the interface

3D elements are drawn using mujoco rendering API except for interactive markers which are drawn using ImGuizmo

Not implemented:

The issue in both cases is that there's (afaik) no way to load meshes that are not part of the mujoco model. It might be possible to insert them into the xml we loaded and reload the scene but I haven't looked more into it as I don't think it's worth the trouble for now...

It's also still possible to open a separate mc_rtc GUI client to visualize those if needed