Search found 9 matches

by Tyler Morrison
Sat Mar 06, 2021 2:03 pm
Forum: OpenSim Moco
Topic: Problem Scaling
Replies: 3
Views: 394

Re: Problem Scaling

Nick, Thank you so much for your reply! That is exceedingly helpful. I was not aware of that branch, but it's the perfect starting place. If I do end up implementing scaling properly to solve one or more of our problems, I will definitely try to contribute it to the project along with the example. O...
by Tyler Morrison
Tue Mar 02, 2021 11:50 am
Forum: OpenSim Moco
Topic: Problem Scaling
Replies: 3
Views: 394

Problem Scaling

I'm wondering if anyone knows of a good way to scale the states controls (and bonus points for kinematic constraint lagrange multipliers) in a MocoProblem? I am working in a branch of the source code but I can't figure out the best place to add in scaling to improve the problem formulation I am work...
by Tyler Morrison
Mon Jan 11, 2021 2:31 pm
Forum: OpenSim Moco
Topic: How to use custom goal plugin?
Replies: 9
Views: 1514

Re: How to use custom goal plugin?

Jiacheng, Thank you for writing this out! Your instructions were very helpful and probably saved me a bunch of time troubleshooting myself. Doing exactly as you described, I was able to solve the problem in both MATLAB and C++. To add to this, for anyone else that is interested, I have included my M...
by Tyler Morrison
Sun Jan 10, 2021 8:05 pm
Forum: OpenSim Moco
Topic: Bilateral State Symmetry in an Asymmetric Model
Replies: 3
Views: 279

Re: Bilateral State Symmetry in an Asymmetric Model

Thank you for your comments Ross. Yes, the studies from Handford would be one example of such asymmetry. It looks like I will have to come up with custom goal and constraint solutions for this. I wanted to post to the forums to avoid getting too far into it only to find out that someone else was alr...
by Tyler Morrison
Fri Jan 08, 2021 10:46 am
Forum: OpenSim Moco
Topic: Bilateral State Symmetry in an Asymmetric Model
Replies: 3
Views: 279

Bilateral State Symmetry in an Asymmetric Model

I'm working on a predictive gait simulation problem for which I would like to use an asymmetric MSK model. The simplest example of this would be, for example, a model with a larger tibia body mass on the left side versus the right side. However, to keep the problem simpler, I would still like to enf...
by Tyler Morrison
Wed Oct 21, 2020 7:28 pm
Forum: OpenSim Moco
Topic: Is There Any Relationship between Tracking & Prediction ???
Replies: 5
Views: 683

Re: Is There Any Relationship between Tracking & Prediction ???

I think we could have a very long and productive thread discussing this question. I thought I would just add a few of my own thoughts -- as much so I can organize them as to contribute to the discussion. The central question in optimization (and that is what gait prediction is based on -- optimizati...
by Tyler Morrison
Wed Oct 21, 2020 5:34 pm
Forum: OpenSim Moco
Topic: SOLVED -- Closed Kinematic Chain: MoCo Solver Initialization Error
Replies: 4
Views: 407

Re: Closed Kinematic Chain: MoCo Solver Initialization Error

Thank you for the suggestion! That did the trick. I don't know if the way I did it is the best way to do it, but basically I just created a ground link and attached that to one side of the mechanism, and then another ground link and attached that to the other side. Then I used WeldConstraint to clos...
by Tyler Morrison
Tue Oct 20, 2020 5:03 pm
Forum: OpenSim Moco
Topic: SOLVED -- Closed Kinematic Chain: MoCo Solver Initialization Error
Replies: 4
Views: 407

Re: Closed Kinematic Chain: MoCo Solver Initialization Error

Yes, I am building the model programmatically. It's a simpler test case of something I am working on. I have attached a ZIP file which contains the OSIM file, an M file for building that OSIM file, and an M file for the MoCo problem. FourBarLinkage.zip I'm most suspicious that there is a simple addi...
by Tyler Morrison
Sun Oct 18, 2020 3:11 pm
Forum: OpenSim Moco
Topic: SOLVED -- Closed Kinematic Chain: MoCo Solver Initialization Error
Replies: 4
Views: 407

SOLVED -- Closed Kinematic Chain: MoCo Solver Initialization Error

I'm wondering if anyone has experience with this error and can guide me to resolve it. This is sort of the simplest version of the problem that I am encountering. Let's say that I want to build a four-bar linkage in OpenSim and solve a minimum effort point-to-point movement (torque actuator on one j...