Search found 82 matches

by Pagnon David
Thu Jan 11, 2024 3:28 am
Forum: OpenSim
Topic: ConstantCurvatureJoint in next release?
Replies: 7
Views: 915

Re: ConstantCurvatureJoint in next release?

The conda package seems to work and I guess I don't need the GUI, but it might be of interest that opening it in the GUI is a bit buggy: - The Geometry cannot be loaded. This is because the Geometry provided in the BSM.osim model is in .ply format. Should work fine after conversion. - However, there...
by Pagnon David
Tue Jan 09, 2024 8:47 am
Forum: OpenSim
Topic: ConstantCurvatureJoint in next release?
Replies: 7
Views: 915

Re: ConstantCurvatureJoint in next release?

Oh, I did not see it, I will try this beta release right now!

the 4.4 bindings being inconsistent with the rest of the build makes sense indeed, it was just a wild try... Thanks!
by Pagnon David
Tue Jan 09, 2024 7:54 am
Forum: OpenSim
Topic: ConstantCurvatureJoint in next release?
Replies: 7
Views: 915

Re: ConstantCurvatureJoint in next release?

I see it is already integrated in the source code ( https://github.com/opensim-org/opensim-core/blob/main/OpenSim/Simulation/SimbodyEngine/ConstantCurvatureJoint.h ) so I would like to build OpenSim from source on Windows, following these instructions: https://github.com/opensim-org/opensim-core/wik...
by Pagnon David
Tue Jan 09, 2024 7:49 am
Forum: OpenSim
Topic: ConstantCurvatureJoint in next release?
Replies: 7
Views: 915

ConstantCurvatureJoint in next release?

Dear all,

I would like to try using the BSM.osim model from the SKEL paper. This model uses a new kind of joint (ConstantCurvatureJoint), that is not supported by the last release yet. Is there any news concerning when it will be supported?
by Pagnon David
Mon Nov 27, 2023 2:33 pm
Forum: OpenSim Moco
Topic: Ignore state in guess file
Replies: 3
Views: 161

Re: Ignore state in guess file

Oh, interesting! This is actually quite close to what I ended up doing, inspired from this answer . If anyone is interested, here is a Python function that lets you remove states and/or controls from a guess, and take instead the midpoint between their bounds. def exclude_from_guess(solver, tracked_...
by Pagnon David
Mon Nov 27, 2023 7:25 am
Forum: OpenSim Moco
Topic: Ignore state in guess file
Replies: 3
Views: 161

Re: Ignore state in guess file

From what I seem to understand, each state and each control need to have a guess trajectory, or Moco will not accept it. What I am looking for is a way to "free" some states or controls, and let the solver guess by itself. Is there a way to do it? Or maybe a way to adjust the weight of some of the t...
by Pagnon David
Thu Nov 23, 2023 5:00 am
Forum: OpenSim Moco
Topic: Ignore state in guess file
Replies: 3
Views: 161

Ignore state in guess file

I am running a few gait predictions, and I use a previous tracking solution as an initial guess (study.setGuessFile()). Now I would like to set very different bounds to some joint angles to simulate pathological gait, let's say the lumbar flexion so that the model bends over as they walk. If I do so...
by Pagnon David
Thu Nov 23, 2023 4:32 am
Forum: OpenSim Moco
Topic: IPOPT output to opensim.log
Replies: 8
Views: 401

Re: IPOPT output to opensim.log

Thanks Pavlos! Another way to do it is by redirecting everything like so: python script.py > full_log.txt But you can't always do that, like if you want to define your log path in the python script. With your method, here is how I go about it: Create ipopt.opt and add this single line: output_file l...
by Pagnon David
Wed Nov 22, 2023 3:07 am
Forum: OpenSim Moco
Topic: nan in forceset
Replies: 4
Views: 244

Re: nan in forceset

Thanks Nick for your consistent answers on this forum, I know how much work this represents. I was talking about the output trajectory (sto file), where all values in my forceset were set to nans. But this was a stupid mistake on my end, which took way too much time to figure out. I wrote a function...
by Pagnon David
Mon Nov 20, 2023 5:11 am
Forum: OpenSim Moco
Topic: nan in forceset
Replies: 4
Views: 244

Re: nan in forceset

In case this is better for debugging purposes, here is my .omoco file.