-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check if model is skeleton and use first csys if CSYS does not exist + small refactor of joints csv configuration #114
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice refactoring!
Have you tried to export a URDF from an assembly that has CSYS instead of linkFrames (e.g. icub)?
I did it only with the example assembly, I'll check with icub as well. |
Just a curiosity, how are you testing the model with MuJoCo? Are you running some script or command? Xref: robotology/icub-models#155 . |
Super simply by drag and drop using the |
Wow, I have no idea how this can work, as the |
Actually on this test on iCub, I changed the paths of the meshes in the urdf so it could be loaded with no problems on my windows environment without any ros/gazebo machinery. Nonetheless, I noticed that if the .stl are all in the same folder as the urdf, they are correctly loaded regardless of the package:// URI. Maybe a fallback logic is involved? |
Ahhh ok, so not simply by dragging and drop the model, also by modifying the path to the meshes. Are there other workarounds necessary?
Yes, mujoco basically throw away everything in the mesh uri beside the file name if I recall correctly, see google-deepmind/mujoco#1432 . |
This problem should be fixed by: |
AFAIK that's only it @traversaro |
Fixes #112 .