Search found 375 matches

by Ross Miller
Wed Oct 23, 2024 4:23 pm
Forum: OpenSim Moco
Topic: Torque Actuators at the pelvis
Replies: 2
Views: 116

Re: Torque Actuators at the pelvis

Hi Hojin, You may need to describe the problem/application in more detail to get a good answer here, e.g. what methods are you using to generate the simulation? I don't use pelvis actuators in my Moco simulations, but that is just because they are not a necessary or helpful thing in the problems I'm...
by Ross Miller
Fri Oct 04, 2024 3:15 am
Forum: OpenSim Moco
Topic: Determining Muscle Forces From MOCO Solution
Replies: 9
Views: 677

Re: Determining Muscle Forces From MOCO Solution

Hi Brodie, The solution matrix/file from a Moco solution (.sto file) includes the time-varying values of the model's states and controls. If the normalized_tendon_force variables Pasha mentioned are not in your simulation's solution, it probably means your model has rigid tendons, which means the te...
by Ross Miller
Thu Sep 26, 2024 6:11 am
Forum: OpenSim Moco
Topic: Choosing Moco weights and constraints
Replies: 5
Views: 460

Re: Choosing Moco weights and constraints

I stole it from numerous Rick Neptune papers!

It would be nice if the weights could be time-varying, e.g. heavy/light weight during portions of the gait cycle when variance is low/high. Nick, is this possible (either now, or potentially)?

Ross
by Ross Miller
Mon Aug 05, 2024 4:51 am
Forum: OpenSim Moco
Topic: Parameter tuning issue with MocoTrack
Replies: 3
Views: 1761

Re: Parameter tuning issue with MocoTrack

Hi Oliver, I've done parameter optimization with MocoTrack before (adjusting prosthesis stiffness, for example). I think Nick mentioned this already but in your initial guess for MocoTrack, is the parameter included in the guess? If I'm starting from a solution that didn't have parameter optimizatio...
by Ross Miller
Wed May 15, 2024 8:44 am
Forum: OpenSim Moco
Topic: MocoTrack Failed: Invalid_Number_Detected
Replies: 4
Views: 3738

Re: MocoTrack Failed: Invalid_Number_Detected

Hi Ziang, I think these errors are typically from things in the model that violate IPOPT's expectations of the state equations being "smooth and continuous". I would guess in your model the best candidates for where things might not be smooth and continuous are the wrapping geometries. Echoing Nick'...
by Ross Miller
Wed Apr 24, 2024 11:28 am
Forum: OpenSim Moco
Topic: Making arms parallel to the ground
Replies: 3
Views: 1958

Re: Making arms parallel to the ground

Hi Hojin, I've used the Goal Nick mentioned to minimize the deviations of the torso in global frame, it worked well. You could try that Goal with a high weight and see if it makes the deviations of the arms small enough for your purpose. If you want the deviations to be literally zero, I think you'd...
by Ross Miller
Wed Mar 20, 2024 3:05 pm
Forum: OpenSim Moco
Topic: FunctionBasedPath
Replies: 14
Views: 4834

Re: FunctionBasedPath

5x wow, I'm surprised it makes that much of a difference. I will have to try this. Nick, is there a way of assessing/reporting the goodness-of-fit of the polys? Apologies if this is obvious, nothing jumped out at me in the documentation. My struggle when exclusively using polynomial functions for mu...
by Ross Miller
Fri Mar 01, 2024 3:22 am
Forum: OpenSim Moco
Topic: Periodicity constraint for GRFs and ground contact moments
Replies: 4
Views: 3188

Re: Periodicity constraint for GRFs and ground contact moments

Glad the codes are helpful! I don't normally track the GR moments, just the forces. My rationale is if the tracking of the GRF and of the kinematics are both good, and if the model itself is good, then the CoP should look good too (a gauge of validity). But if you want to make sure the model's CoP i...
by Ross Miller
Fri Mar 01, 2024 3:17 am
Forum: OpenSim Moco
Topic: Tracking and exporting ID Joint Moments for Torque-driven and Muscle-driven simulations
Replies: 3
Views: 2307

Re: Tracking and exporting ID Joint Moments for Torque-driven and Muscle-driven simulations

What Aaron described for (2) is how I've previously gotten joint moments from a Moco solution. If you have other actuators at the joint besides muscles, you'd want to add those too. You can also get joint forces and moments from doing a Joint Reaction Analysis, but I'm not sure I'm doing that right ...
by Ross Miller
Thu Feb 29, 2024 2:03 pm
Forum: OpenSim Moco
Topic: Periodicity constraint for GRFs and ground contact moments
Replies: 4
Views: 3188

Re: Periodicity constraint for GRFs and ground contact moments

Hi Kayla, If the model's GRF are from the usual foot-ground contact elements, the states being periodic should also result in periodic GRF. Did you set all the generalized speeds (e.g. joint angular velocities) to be periodic too? Below is the code I use to get states and controls that are periodic ...