Tracking and exporting ID Joint Moments for Torque-driven and Muscle-driven simulations
Posted: Thu Feb 29, 2024 1:28 pm
Hi,
I just want to clarify a couple of things with tracking simulations for both torque and muscle driven simulations of walking.
1) The first question is can I track experimental ID joint moments for a torque-driven simulation? I have a 3D gait model with muscles on the lower extremity and coordinate actuators for the lumbar and arms. To modify the problem to be torque-driven I used ModOpRemoveMuscles() and then ModOpAddReserves() to add a torque to each coordinate that doesn't already have a coordinate actuator. Can I use the MocoControlTrackingGoal and reference experimental joint moments from ID to track ID moments and apply those to the reserve torques for each state? I know there is not a specific cost term to track ID moments, but could this be a way to do that with a torque-driven tracking simulation since the torques are the controls? Then should I be able to validate the output in the /forceset for the reserves be comparable against the reference ID moments?
2) The second question is what is the best way to compute or extract the joint moments from the states and grf tracked data from a muscle-driven simulation? Should I run that through ID using a model without the ground contact model? Or is there a way to do this without running ID?
Thank you for any help you can provide!
Kayla
I just want to clarify a couple of things with tracking simulations for both torque and muscle driven simulations of walking.
1) The first question is can I track experimental ID joint moments for a torque-driven simulation? I have a 3D gait model with muscles on the lower extremity and coordinate actuators for the lumbar and arms. To modify the problem to be torque-driven I used ModOpRemoveMuscles() and then ModOpAddReserves() to add a torque to each coordinate that doesn't already have a coordinate actuator. Can I use the MocoControlTrackingGoal and reference experimental joint moments from ID to track ID moments and apply those to the reserve torques for each state? I know there is not a specific cost term to track ID moments, but could this be a way to do that with a torque-driven tracking simulation since the torques are the controls? Then should I be able to validate the output in the /forceset for the reserves be comparable against the reference ID moments?
2) The second question is what is the best way to compute or extract the joint moments from the states and grf tracked data from a muscle-driven simulation? Should I run that through ID using a model without the ground contact model? Or is there a way to do this without running ID?
Thank you for any help you can provide!
Kayla