Search found 1041 matches

by Nicholas Bianco
Mon Oct 28, 2024 9:04 am
Forum: OpenSim Moco
Topic: Required additional External Forces needed for MocoInverse
Replies: 1
Views: 90

Re: Required additional External Forces needed for MocoInverse

Hi Adam, Yes, you would likely need to add a foot-ground contact force element to your model to model the effects of the shoe/sole stiffness. You will probably need to use MocoTrack or a custom MocoStudy though, since your input kinematics will probably not produce correct forces at the feet "out-of...
by Nicholas Bianco
Sat Oct 19, 2024 9:46 am
Forum: OpenSim Moco
Topic: how to calculate muscle force
Replies: 11
Views: 582

Re: how to calculate muscle force

Hi Neha, I am not sure what you mean by this. If you problem converged and the controls are at the middle of the control bounds, then it probably converged to a local minima. There are many factors that might explain this: cost functions terms (and their weights), model complexity, choice of initial...
by Nicholas Bianco
Sat Oct 19, 2024 9:42 am
Forum: OpenSim Moco
Topic: Linear Velocity Constraint or Goal
Replies: 9
Views: 604

Re: Linear Velocity Constraint or Goal

Hi Cedric,

OpenSim (and Moco) uses SI units: meters, radians, Newtons, etc. Speed is measured in meters per second (m/s).

Best,
Nick
by Nicholas Bianco
Thu Oct 17, 2024 1:14 pm
Forum: OpenSim
Topic: calculation of center of pressure using Hunt and Crossley contact model
Replies: 3
Views: 462

Re: calculation of center of pressure using Hunt and Crossley contact model

Hi Park, You will be able to calculate forces that way, but I don't think the forces from a foot-ground contact model computed directly with IK kinematics will be very accurate. The IK solution will not capture the fine kinematic between the foot and the ground that are important for good force esti...
by Nicholas Bianco
Mon Oct 14, 2024 10:20 am
Forum: OpenSim Moco
Topic: Capturing terminal output in Google Colab
Replies: 2
Views: 214

Re: Capturing terminal output in Google Colab

Hi Ana,

If you're looking for the Ipopt output, you can add an ipopt.opt (Ipopt options) file to your working directory to specify where the Ipopt output should be directed to.

I haven't found a more general solution for this, but will let you know if I do!

Best,
Nick
by Nicholas Bianco
Thu Oct 10, 2024 10:41 am
Forum: OpenSim Moco
Topic: how to calculate muscle force
Replies: 11
Views: 582

Re: how to calculate muscle force

Hi Neha, Your problem appears to be infeasible (i.e., the problem cannot enforce the dynamics constraints in the direct collocation problem). I'm not sure about the MUMPS memory issue, but it might be related to Ipopt entering "restoration mode" in order to address the infeasibility issue. I would r...
by Nicholas Bianco
Thu Oct 10, 2024 10:25 am
Forum: OpenSim Moco
Topic: Determining Muscle Forces From MOCO Solution
Replies: 9
Views: 692

Re: Determining Muscle Forces From MOCO Solution

Hi Brodie, MocoTrack is just a tool for configuring a MocoStudy for tracking optimization problems. You can access the internally configured MocoStudy using "initialize": track = MocoTrack(); % your tracking problem configuration study = track.initialize(); solution = study.solve(); outputPaths = St...
by Nicholas Bianco
Wed Oct 09, 2024 9:14 pm
Forum: OpenSim Moco
Topic: Changing Weld Joints to Track Kinematics and Actuation around that Joint
Replies: 2
Views: 209

Re: Changing Weld Joints to Track Kinematics and Actuation around that Joint

Hi Adam, As long the actuators (including muscles, if relevant) are strong enough to produce the joint motion for the MTP joint, you should be able to get your problem to solve. However, we usually apply ground reaction forces to the model when using MocoInverse, and currently there is no good way t...
by Nicholas Bianco
Wed Oct 09, 2024 8:57 pm
Forum: OpenSim Moco
Topic: how to calculate muscle force
Replies: 11
Views: 582

Re: how to calculate muscle force

Hi Neha,

Please refer to my recent post on this thread for more guidance: viewtopicPhpbb.php?f=1815&t=18886&p=51523&start=0&view=.

Best,
Nick
by Nicholas Bianco
Wed Oct 09, 2024 8:56 pm
Forum: OpenSim Moco
Topic: Determining Muscle Forces From MOCO Solution
Replies: 9
Views: 692

Re: Determining Muscle Forces From MOCO Solution

Hi Brodie, The correct format in Matlab would be as follows: study = MocoStudy(); % your study configuration here solution = study.solve(); outputPaths = StdVectorString(); outputPaths.add('/forceset/vaslat_r|tendon_force'); outputs = study.analyze(solution, outputPaths); The "outputPaths" argument ...