Search found 2 matches

by Francine Leung
Fri May 24, 2024 8:41 am
Forum: OpenSim
Topic: Coordinate Actuator Outputs
Replies: 1
Views: 457

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: 351

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...