Search found 3 matches

by Francine Leung
Wed Jun 26, 2024 6:19 am
Forum: OpenSim
Topic: Coordinate Actuator Outputs
Replies: 3
Views: 614

Re: Coordinate Actuator Outputs

Hi Nick, Thanks for the reply. I am not able to get the control values of the actuator in the solution, except for the reserves already present in the osim model file. How would I get the values outputted by the reserve actuators added in the line: modelProcessor.append(ModOpAddReserves(250)); Thank...
by Francine Leung
Fri May 24, 2024 8:41 am
Forum: OpenSim
Topic: Coordinate Actuator Outputs
Replies: 3
Views: 614

Coordinate Actuator Outputs

I am writing code based on this section of the example3DWalking file. I want to see the torque values generated by the coordinate actuators that are driving the model (in place of the muscles). function torqueDrivenMarkerTracking() import org.opensim.modeling.*; % Create and name an instance of the ...
by Francine Leung
Wed Mar 27, 2024 7:34 am
Forum: OpenSim
Topic: MocoParameter for multiple elements
Replies: 2
Views: 381

MocoParameter for multiple elements

I am trying to optimize the stiffness value for multiple Smooth Space Half Sphere forces at the same time. Both forces are components of the model. Currently I am able to optimize the stiffness for each force individually. How would I combine these two parameters into one? problem.addParameter(MocoP...