Search found 17 matches
- Thu Dec 15, 2022 11:00 am
- Forum: OpenSim Moco
- Topic: Opensim moco-matlab
- Replies: 8
- Views: 1088
Re: Opensim moco-matlab
Hi Mersad, You definitely want "set_parameters_require_initsystem" to be true. The problem freezing is likely a different issue. How are you setting up the MocoInverse problem? The error shows a SimTK::Stage realization issue, which is a little odd. It seems to be related to the MocoInitialActivati...
- Thu Apr 07, 2022 9:24 am
- Forum: OpenSim Moco
- Topic: How can I make torque-driven predictive simulations realistic?
- Replies: 16
- Views: 3047
Re: How can I make torque-driven predictive simulations realistic?
Is it insufficient to use ActivationCoordinateActuators along with ExpressionBasedCoordinateForce or CoordinateLimitForce on each dof tuned to some physiological estimates of damping/stiffness? For some of our models, I've been using variations of hyperbolic sine as expressions for mapping coordinat...
- Mon Apr 04, 2022 11:18 am
- Forum: OpenSim Moco
- Topic: Adding JointReactionGoal increases time per iteration?
- Replies: 16
- Views: 1095
Re: Adding JointReactionGoal increases time per iteration?
While we're making feature requests, I'd like to be able to minimize the square of the metabolic cost, i.e. w*(J/m/kg)^2. I'd also like a pony! Hello, yes I also wanted to raise other terms to another exponent after reading Antoine's paper where I believe he has terms to minimizes joint acceleratio...
- Mon Mar 28, 2022 10:47 am
- Forum: OpenSim Moco
- Topic: Maximize Velocity of a Body Segment
- Replies: 13
- Views: 1876
Re: Maximize Velocity of a Body Segment
Hi, instead of tracking a high value, I was thinking about a maximize or minimize peak Q, Qdot, Udot, or output goal as there are C2-continuous approximations of max() like Log Sum Exp or other smooth maximum functions that get used in machine learning. Though I don't think a custom goal like this w...
- Sun Feb 13, 2022 5:13 pm
- Forum: OpenSim Moco
- Topic: Slow iterations on predictive simulations
- Replies: 8
- Views: 1306
Re: Slow iterations on predictive simulations
Hi Ross, Do you mean that you create a MocoStudy and add the MocoStateTrackingGoal to its problem or that you create a MocoTrack that has the implicit StateTrackingGoal and MocoControlCost term? How do you remove the goal from a problem? Would be interested if you still get poor performance if you u...
- Thu Dec 09, 2021 9:50 am
- Forum: OpenSim Moco
- Topic: Getting "resultant knee force" from a state trajectory?
- Replies: 12
- Views: 1755
Re: Getting "resultant knee force" from a state trajectory?
Hi Ross, Thank you for your in-depth explanation. I agree that the terminology is a bit confusing, I will have a look at the paper. So by that terminology, you're saying that OpenSim's JointReactionAnalysis reports the "total reaction force", and that you're looking for the "partial reaction force"...
- Fri Dec 03, 2021 12:58 pm
- Forum: OpenSim Moco
- Topic: Getting "resultant knee force" from a state trajectory?
- Replies: 12
- Views: 1755
Re: Getting "resultant knee force" from a state trajectory?
Hi Ross, I believe you want to iterate through the states in the states trajectory and realize the model to accelerations? and you can call calcReactionOnChildExpressedInGround for each relevant joint? This might not be the right call. I had previously used the muscle geometry paths to resolve force...
- Fri Nov 12, 2021 3:30 pm
- Forum: OpenSim Moco
- Topic: What is State in Model.calcCenterMassPosition
- Replies: 2
- Views: 496
Re: What is State in Model.calcCenterMassPosition
if you are trying to do some post-hoc analysis with your moco solution in matlab or python, I think you can turn this into a StatesTrajectory and use get(index) to grab states from it states_storage = org.opensim.modeling.Storage(storagePath); states_trajectory = org.opensim.modeling.StatesTrajector...
- Fri Oct 01, 2021 12:22 pm
- Forum: OpenSim Moco
- Topic: the behavior of ModOpAddExternalLoads()
- Replies: 1
- Views: 176
the behavior of ModOpAddExternalLoads()
Hi, quick question. For developing gait tracking simulations and when using ModOpAddExternalLoads() in lieu of a contact tracking goal, does Moco care about the CoP and torques information in your external loads .mot and defined in the .xml or is it like MocoContactTrackingGoal() which specifically ...
- Thu Sep 16, 2021 3:42 pm
- Forum: OpenSim
- Topic: Total Knee Arthroplasty
- Replies: 2
- Views: 300
Re: Total Knee Arthroplasty
If you only want an animation and not the underlying mechanics/ dynamics, wouldn't it be easier to develop something in blender? I've done some TKA visualization using solidworks before.