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

Update to build with recent version of MuJoCo #40

Closed gergondet closed 1 year ago

gergondet commented 1 year ago

This PR follows the changes in recent MuJoCo releases and uses the platform ui adapter to interact with GLFW. We still need to access the GLFW window handle to initialize imgui so we copy the glfw_adapter from MuJoCo release to mc_mujoco but replace the private accessor by a public one.

Closes #38

rohanpsingh commented 1 year ago

Wow... I was working on a fix too but now it seems I made it more complicated than it had to be. Thanks for this!