You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi MyoSuite team,
I'm learning how to use MyoSuite for biomechanical studies and musculoskeletal simulations and I was trying to adapt the Inverse dynamics tutorial to the MyoLeg model. I have problems in computing the generalized force and I think it's because the number of generalized coordinates (dim(qpos) = 35) does not match the number of degrees of freedom (dim(qvel) = 34), because of the presence of a free joint ('root') in the myoleg model. I am using joint positions stored from another simulation done using the DepRL baseline, so I have checked that the structure of the data is the same as the .csv file provided for the tutorial, but with the right number of joints for the leg model. Am I missing something? How can I overcome this problem? Thank you very much for your job here!
The text was updated successfully, but these errors were encountered:
Hi @alco24, you are right to note that the problem is related to the presence of the free joint root, the handling of which is indeed not supported by the current version of inverse dynamics in the tutorial. However, the main problem is not the different dimensionality resulting from the use of quaternions in qpos, which can indeed be addressed in multiple ways, but rather the zero actuator_moment for the free joint, since the muscle actuators do not act directly on it.
Hi MyoSuite team,
I'm learning how to use MyoSuite for biomechanical studies and musculoskeletal simulations and I was trying to adapt the Inverse dynamics tutorial to the MyoLeg model. I have problems in computing the generalized force and I think it's because the number of generalized coordinates (dim(qpos) = 35) does not match the number of degrees of freedom (dim(qvel) = 34), because of the presence of a free joint ('root') in the myoleg model. I am using joint positions stored from another simulation done using the DepRL baseline, so I have checked that the structure of the data is the same as the .csv file provided for the tutorial, but with the right number of joints for the leg model. Am I missing something? How can I overcome this problem? Thank you very much for your job here!
The text was updated successfully, but these errors were encountered: