Search found 11 matches

by Kaitlyn Downer
Tue Jun 18, 2024 6:48 am
Forum: OpenSim Moco
Topic: FunctionBasedPath
Replies: 14
Views: 5409

Re: FunctionBasedPath

Hi everyone, Thank you all for providing your thoughts/experiences with function based paths - it has given me a great start with implementing them in my project! However, I am trying to add a metabolic goal to my MocoTrack problem (using the example2DWalkingMetabolics) and I am getting the followin...
by Kaitlyn Downer
Tue Mar 26, 2024 2:45 pm
Forum: AddBiomechanics
Topic: Representation of Forces
Replies: 1
Views: 476

Representation of Forces

Hello, I am attempting to scale my model using AddBiomechanics, but I previously discovered issues in my CoP calculations when I expressed the forces with respect to the CoP, leading to high residual moments. To move past this, I decided to use the method of applying the force and moment from the or...
by Kaitlyn Downer
Mon Mar 04, 2024 5:57 am
Forum: AddBiomechanics
Topic: AddBiomechanics vs. Traditional Scaling
Replies: 1
Views: 511

AddBiomechanics vs. Traditional Scaling

Hi, I am trying to scale one subject (Female, 1.645 m, 89.5 kg) using AddBiomechanics and got different results than when I used the traditional scaling method in OpenSim. I am using the gait2393 model with a custom marker set (12 markers: RASI, LASI, SACR, RKNE, RANK, RHEE, RTOE, LKNE, LANK, LHEE, ...
by Kaitlyn Downer
Fri Feb 23, 2024 12:16 pm
Forum: OpenSim Moco
Topic: Issues with implementing MocoJointReactionGoal
Replies: 5
Views: 1075

Re: Issues with implementing MocoJointReactionGoal

Nick,

Thanks for suggesting to check the solution file. The joint reaction goal has a non-zero value, So I assume it is being added and maybe just not being displayed in the log properly.

Kaitlyn
by Kaitlyn Downer
Fri Feb 23, 2024 6:51 am
Forum: OpenSim Moco
Topic: Issues with implementing MocoJointReactionGoal
Replies: 5
Views: 1075

Re: Issues with implementing MocoJointReactionGoal

Hi Nick, Thank you for your response. I originally had 'problem.addGoal(jointReaction);` at the end as you described, but I moved it up based on seeing a different forum post. I tried placing it at the end again and running, but I encountered the same issue where the joint path, loads frame, and exp...
by Kaitlyn Downer
Tue Feb 20, 2024 10:13 am
Forum: OpenSim Moco
Topic: Issues with implementing MocoJointReactionGoal
Replies: 5
Views: 1075

Issues with implementing MocoJointReactionGoal

Hi, I was trying to add the MocoJointReactionGoal to my problem, but I have encountered the following issue. When I look at the log file, there is nothing under joint path, loads frame, or expressed. Log.png Here is how I added the goal in my code: JointReactionCode.png I appreciate any help on why ...
by Kaitlyn Downer
Tue Nov 21, 2023 8:39 am
Forum: OpenSim Moco
Topic: Invalid number detected/NaN detected error/warning
Replies: 7
Views: 1121

Re: Invalid number detected/NaN detected error/warning

Nick, I am working with my own code, which I started based off of the example. Usually, it will run once (going through the multiple iterations), and then says EXIT: Optimal solution found. Previously, it would then write the .sto file and say ans = org.opensim..... Now, the code in MATLAB doesn't e...
by Kaitlyn Downer
Mon Nov 13, 2023 8:42 am
Forum: OpenSim Moco
Topic: Invalid number detected/NaN detected error/warning
Replies: 7
Views: 1121

Re: Invalid number detected/NaN detected error/warning

Thank you for your response. My code is now running, but I have two questions/concerns. I am able to converge on a solution, but it does not resemble walking at all. I have included an image, but it essentially just does a little "hop" where it lifts the heels but neither foot leaves the ground. In ...
by Kaitlyn Downer
Wed Nov 08, 2023 1:13 pm
Forum: AddBiomechanics
Topic: Marker placement and custom model question
Replies: 1
Views: 611

Marker placement and custom model question

Hi, I am looking to use AddBiomechanics to scale a model with walking and perturbation data. I previously ran into issues with scaling and RRA with the traditional OpenSim method, and ended up with very high residual forces. I thought using Addbiomechanics would be a better option, but I have two qu...
by Kaitlyn Downer
Mon Oct 30, 2023 6:54 am
Forum: OpenSim Moco
Topic: Invalid number detected/NaN detected error/warning
Replies: 7
Views: 1121

Re: Invalid number detected/NaN detected error/warning

Hi Nick, Thank you for your response. I had the subtalar and MTP locked; I thought I welded the joints, but looking back I did not. I welded those using ModOpReplaceJointsWithWelds. I am still getting a (different) error. Previously, when I was still working from 0 to 1 s, I added an initial guess u...