Search found 86 matches

by Pagnon David
Mon Apr 08, 2024 5:01 am
Forum: AddBiomechanics
Topic: Failed loading mesh 'file
Replies: 5
Views: 690

Failed loading mesh 'file

Dear AddBiomechanics team, I've got an error message similar to this one . I'm trying to run AddBiomechanics from the attached model. I'm a bit surprised since there is no vtp.ply files referenced in my model. Do you have any idea how to solve this? ['/app/src/../../engine/src/engine.py', '/tmp/tmpz...
by Pagnon David
Fri Jan 12, 2024 4:58 pm
Forum: OpenSim
Topic: EllipsoidJoint in OpenSim vs NimblePhysics
Replies: 5
Views: 998

Re: EllipsoidJoint in OpenSim vs NimblePhysics

Hello and thanks for your time, I used OpenSim 4.5-2023-12-04-cfbf426 for Windows (see my last post there ), so I don't have that ConstantCurvatureJoint error anymore. The inconsistency is the same if I only use the API from the last conda version. I haven't actually installed nimblephysics since I ...
by Pagnon David
Fri Jan 12, 2024 10:25 am
Forum: OpenSim
Topic: EllipsoidJoint in OpenSim vs NimblePhysics
Replies: 5
Views: 998

EllipsoidJoint in OpenSim vs NimblePhysics

Hello, I am trying out the new BSM/SKEL model . The authors used nimblephysics instead of OpenSim, and visualized it with AitViewer-SKEL . Everything seems to be displayed correctly via nimblephysics, but not via OpenSim. The scapula, which is defined by an EllipsoidJoint, is not located nor oriente...
by Pagnon David
Fri Jan 12, 2024 1:37 am
Forum: OpenSim
Topic: ConstantCurvatureJoint in next release?
Replies: 7
Views: 1014

Re: ConstantCurvatureJoint in next release?

Which version of OpenSim are you using? There was an issue in version 4.4 (possibly in earlier versions as well) where the ellipsoid drawn by EllipsoidJoint::generateDecorations() could not be hidden. This was reported as Issue #1440 in the GUI repo ( https://github.com/opensim-org/opensim-gui/issu...
by Pagnon David
Thu Jan 11, 2024 3:28 am
Forum: OpenSim
Topic: ConstantCurvatureJoint in next release?
Replies: 7
Views: 1014

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: 1014

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: 1014

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: 1014

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: 195

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: 195

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...