MyoHub / myoconverter

A tool to convert opensim 4.0+ MSK models into MuJoCo format with optimized muscle kinematics and kinetics
Apache License 2.0
67 stars 5 forks source link

Joint names are not matching #27

Closed Hippozhibos closed 1 year ago

Hippozhibos commented 1 year ago

I was trying to convert an OpenSim model into Mujoco model. After revised all joint types, I encountered this error message:

"2023-11-13 14:27:02.471 | INFO | myoconverter.conversion_steps.O2MStep1:vlt1_forwardKinematicsValidation:152 - Check if the joint motion ranges are the same between Osim and Mjc models 2023-11-13 14:27:02.472 | DEBUG | myoconverter.conversion_steps.O2MStep1:vlt1_forwardKinematicsValidation:154 - Joint names are not matching"

image

It's a little bit confusing cause the Mujoco file is generated according to OpenSim file, how could the joint names are not matching with each other? And what shall I do to debug this error? Chech if there are typos in OpenSim model?

Hippozhibos commented 1 year ago

Sorry, I think it's my fault. I revised the .osim file again. After complete all in all , and change one locked PinJoint into WeldJoint, this issue were fixed.