Hello everyone
To apply a torque profile to the ankle joint, I've got the following ScriptControllr.lua:
in fact, I've added ankle_motor_r as an actuator to OpenSim model like this:
But the scenario doesn't work. it means it couldn't find the ankle_motor_r that I defined.
Do you know what's the problem?
How to define CoordinateActuator
- Thomas Geijtenbeek
- Posts: 437
- Joined: Wed Mar 12, 2014 8:08 am
Re: How to define CoordinateActuator
In order to set the CoordinateActuator (or any other actuator) input, please use:
Code: Select all
p_motor:add_input( value )