Hello,
Right now i want to do a CMC (Computed Muscle Control) simulation to get the needed muscle forces under consideration of external torque in Opensim programm. So this external torque (as a function of the input kinematics) will work as an additional actuator to the osim model while simulating the movement from the input kinemtics. The values of the external torque for all time step are already available beforehand (all values in Nm).
what i don't know is the way to inputing these values to the external actuator below.
Can someone give me an insight or help me with it?
Here is the force set from my osim-model: ('Torque_from_CableActuator')
Best regards
Wahyu
Inputing the values of the external torque to the torque actuator in Opensim
- Wahyu Kasendra Sugiarto
- Posts: 8
- Joined: Thu Apr 09, 2020 11:13 am
- Carmichael Ong
- Posts: 401
- Joined: Fri Feb 24, 2012 11:50 am
Re: Inputing the values of the external torque to the torque actuator in Opensim
I'd look at the PrescribedController class. If you want to add the controller to the model file directly, you can get the correct XML tags from the GUI under "Help --> XML Broswer". You can also use the API, with one example here: https://simtk-confluence.stanford.edu/d ... Part+Three