Loading OstrichRL using MuJoCo Unity Plug-in #2169
Replies: 2 comments 1 reply
-
Perhaps @Balint-H and/or @vittorione94 can comment on this |
Beta Was this translation helpful? Give feedback.
-
@desaibhargav Many apologies for not getting back to you. I expect you have stopped working on the topic, but in any case I finally looked into it. At least on v3.2.4 and later the ostrich model can be imported to Unity and is able to be simulated- the only issue seems to be needing to manually set the actuator type to muscle which is a bug I'll fix, thanks for bringing it to my attention. The materials of geoms do need manual configuring as well, but that is common for most models in the Unity plugin. Lastly, due one side of the legs being mirrored, they are rendered as internal faces in Unity only. This is not a bug, but a common optimisation Unity makes to only render one side of meshes. The affected meshes could be batch "turned inside out" with software like Blender. Please let me know if you are still interested and have more questions! |
Beta Was this translation helpful? Give feedback.
-
Intro
Hi!
I am a PhD student at Indiana University Bloomington, I use MuJoCo and the Unity plugin for my research on emergent behaviors.
My setup
MuJoCo 3.2.3
Unity-Plugin 3.2.3
macOS Sequoia 15.0.1 (24A348), Apple Silicon
My question
Thank you for this plugin, it is really useful as my other research directions use Unity and I wanted to integrate MuJoCo into my workflows without any major refactors.
I was experimenting with the plugin, and I noticed that some XMLs load perfectly, while many don't (even the ones in the Menagerie project.
For my specific use case I was interested in loading the OstrichRL model, which loads fine in the MuJoCo macOS Application, as well as when using Python, but fails with the plug-in.
I can provide a more comprehensive list of models that fail if that helps the development team.
Minimal model and/or code that explain my question
The model is too big for the 25MB limit here, but can be found here
The XML file is at /ostrichrl/assets/models/ostrich
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions