Changing Actuator Optimal Force Iteratively using MATLAB and/or Python
Posted: Mon Mar 04, 2019 8:08 am
To whom it may concern,
I want to add an actuator to my model and change its optimal force in each simulation iteratively.
I would appreciate if you let me know how I can change the optimal force of the actuator iteratively using Matlab and/or python code.
To clarify what I want, short pseudocode provided as follows:
MATLAB:
For i = 1:n
set actuator optimal force = i
run OpenSim CMC
return results
end
I am adding the actuator using GUI https://simtk-confluence.stanford.edu/d ... in+the+GUI and when I am checking the Model's XML file or Actuators XML file, I cannot see the added actuators on them.
I am looking forward to hearing from you as soon as possible.
Ali.
I want to add an actuator to my model and change its optimal force in each simulation iteratively.
I would appreciate if you let me know how I can change the optimal force of the actuator iteratively using Matlab and/or python code.
To clarify what I want, short pseudocode provided as follows:
MATLAB:
For i = 1:n
set actuator optimal force = i
run OpenSim CMC
return results
end
I am adding the actuator using GUI https://simtk-confluence.stanford.edu/d ... in+the+GUI and when I am checking the Model's XML file or Actuators XML file, I cannot see the added actuators on them.
I am looking forward to hearing from you as soon as possible.
Ali.