Search found 999 matches

by Nicholas Bianco
Fri Jul 05, 2024 2:07 pm
Forum: OpenSim
Topic: MocoTrack doesn't work with a specific mesh interval
Replies: 4
Views: 735

Re: MocoTrack doesn't work with a specific mesh interval

Moco always uses an initial guess. If you don't specify one, it will create a guess using the midpoint between the variable bounds. Possibly this default guess is a problem when using 30 mesh intervals for your problem. When using different mesh intervals, the problem is discretized differently, mea...
by Nicholas Bianco
Fri Jul 05, 2024 10:17 am
Forum: OpenSim
Topic: Opensim Installation on Ubuntu(Debian)
Replies: 6
Views: 2329

Re: Opensim Installation on Ubuntu(Debian)

To add: if building from source, OpenSim should work with whatever Python version you build against. Just make sure that your Python environment you install in matches the one in your build.
by Nicholas Bianco
Fri Jul 05, 2024 9:53 am
Forum: OpenSim
Topic: Building Opensim from source
Replies: 1
Views: 509

Re: Building Opensim from source

Hi Samane, You found an error in our script! You need to add "-DOPENSIM_WITH_CASADI=$MOCO -DOPENSIM_WITH_TROPTER=$MOCO" to the following line for the flag disabling Moco to work: https://github.com/opensim-org/opensim-core/blob/accddd7f7351f3fa7da8a482c11e97545d19a81e/scripts/build/opensim-core-linu...
by Nicholas Bianco
Fri Jul 05, 2024 9:49 am
Forum: OpenSim
Topic: MocoTrack doesn't work with a specific mesh interval
Replies: 4
Views: 735

Re: MocoTrack doesn't work with a specific mesh interval

Hi Mohammadreza,

Have you tried using the solution using 25 mesh intervals as the initial guess for the problem using 30? Usually this type of error has to do with the initial guess.

-Nick
by Nicholas Bianco
Fri Jul 05, 2024 9:47 am
Forum: OpenSim Moco
Topic: MoCoInverse : Objective Function not Converging
Replies: 9
Views: 1304

Re: MoCoInverse : Objective Function not Converging

Hi Sivaprasad, It's hard to say how many iterations a problem will require, but 600 is not an usually high number. If you can unseal the solution, have you tried plotting all the results? Are any model actuator controls hitting their variable bounds? If so, have you tried adding strong reserve actua...
by Nicholas Bianco
Fri Jul 05, 2024 9:44 am
Forum: OpenSim
Topic: Moco speed with and without activation dynamics
Replies: 10
Views: 5739

Re: Moco speed with and without activation dynamics

Hi Mohammadreza, How many iterations did each optimization take? It seems like including activation dynamics required less. Just because a problem has less variables, doesn't mean that it will converge faster. Activation dynamics might be adding some useful convergence properties in this case. -Nick
by Nicholas Bianco
Mon Jul 01, 2024 11:00 am
Forum: OpenSim
Topic: Opensim Installation on Ubuntu(Debian)
Replies: 6
Views: 2329

Re: Opensim Installation on Ubuntu(Debian)

Hi Samane,

For OpenSim 4.1 on Ubuntu, you might need to update the LD_LIBRARY_PATH.

Code: Select all

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<YOUR_INSTALL_DIRECTORY_HERE>/sdk/lib
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<YOUR_INSTALL_DIRECTORY_HERE>/sdk/Simbody/lib
by Nicholas Bianco
Sat Jun 29, 2024 11:23 am
Forum: AddBiomechanics
Topic: Limb Center of Mass during subject scaling
Replies: 1
Views: 279

Re: Limb Center of Mass during subject scaling

Hi Duncan,

We tried including limb center-of-mass optimization in AddBiomechanics, but found that the benefit was neglible relative to the added complexity in the dynamics fitting optimization.

-Nick
by Nicholas Bianco
Sat Jun 29, 2024 11:16 am
Forum: OpenSim
Topic: Opensim Installation on Ubuntu(Debian)
Replies: 6
Views: 2329

Re: Opensim Installation on Ubuntu(Debian)

Hi Samane, If you want to build on Ubuntu from source, please refer to the following build script: https://github.com/opensim-org/opensim-core/blob/main/scripts/build/opensim-core-linux-build-script.sh. If you just need a working Python environment with OpenSim on Linux, please consider using the Op...
by Nicholas Bianco
Fri Jun 28, 2024 1:32 pm
Forum: OpenSim
Topic: Coordinate Actuator Outputs
Replies: 3
Views: 1151

Re: Coordinate Actuator Outputs

Hi Francine, If a coordinate already has a CoordinateActuator associated with it, by default, ModOpAddReserves() will not apply another CoordinateActuator to that coordinate. However, the same advice applies: for a CoordinateActuator in the model, take its control value multiplied by the optimal for...