Search found 963 matches

by Nicholas Bianco
Tue Jun 04, 2024 10:47 am
Forum: OpenSim Moco
Topic: Help Needed: Unrecognized Function or Variable 'getAsMat' Error
Replies: 3
Views: 139

Re: Help Needed: Unrecognized Function or Variable 'getAsMat' Error

Hi Ebenezer,

If OpenSim is installed correctly, 'getAsMat()' should work out of the box. What version of OpenSim are you using?

Best,
Nick
by Nicholas Bianco
Tue Jun 04, 2024 10:44 am
Forum: OpenSim Moco
Topic: changing the mesh intervals form 25 to 50 changes the prediction outpur of cycling, cannto understand why?
Replies: 7
Views: 563

Re: changing the mesh intervals form 25 to 50 changes the prediction outpur of cycling, cannto understand why?

Hi Mughees, Glad that your problem is converging more reliably now. As for your other question: What if i want to tell the solver/optimizer that my solution should start from "Point A" then should go through a specific "Point X" and then reach at "Point B" . I know the state conditions at all three ...
by Nicholas Bianco
Tue Jun 04, 2024 10:42 am
Forum: OpenSim Moco
Topic: MoCoInverse: GCVSpline: there should be 6 or more data points, error.
Replies: 3
Views: 176

Re: MoCoInverse: GCVSpline: there should be 6 or more data points, error.

Hi Sivaprasad,

That error is likely because you do not have enough time points in your data file "UpAndStopAndDown0.5s_ConstForceLoad.sto". How many rows does that file have?

Best,
Nick
by Nicholas Bianco
Sat Jun 01, 2024 12:53 pm
Forum: OpenSim Moco
Topic: Elastic Foundation Parameter Optimisation
Replies: 4
Views: 304

Re: Elastic Foundation Parameter Optimisation

Hi Andrea, I think the issue is that the 'stiffness' property is stored inside 'contact_parameters', which is not a subcomponent of ElasticFoundationForce but rather a property of it. I don't think properties nested inside other properties will work in Moco, unfortunately. I'll open a GitHub issue t...
by Nicholas Bianco
Sat Jun 01, 2024 12:14 pm
Forum: OpenSim Moco
Topic: Error when using Moco in Python: MocoCasADiSolver is not available
Replies: 10
Views: 2712

Re: Error when using Moco in Python: MocoCasADiSolver is not available

Hi Camille,

It might be a problem with permissions on your machine. Try the following:

Code: Select all

sudo python pip -m install .
-Nick
by Nicholas Bianco
Thu May 30, 2024 9:30 am
Forum: OpenSim Moco
Topic: MocoCasADiSolver does not support models with Controllers
Replies: 2
Views: 225

Re: MocoCasADiSolver does not support models with Controllers

Hi Asif, The changes to support Controllers in Moco were introduced after we made the OpenSim 4.5 release. You are free to build OpenSim from source (or download a pre-built artifact from GitHub Actions) if you want to test the new Controller functionality, but note that these features will guarante...
by Nicholas Bianco
Thu May 30, 2024 9:28 am
Forum: OpenSim Moco
Topic: MocoTrack will not initialize
Replies: 3
Views: 334

Re: MocoTrack will not initialize

Hi Madison, Thanks for the information, but I think I see the issue now. The script you've provided is only implementing the classes that define the tracking problem. You need to instantiate an object of MotionTrackingWalking in order to actually run the problem. This file in the Moco paper repo wil...
by Nicholas Bianco
Wed May 29, 2024 3:45 pm
Forum: AddBiomechanics
Topic: Failed loading mesh 'file
Replies: 5
Views: 603

Re: Failed loading mesh 'file

Hi David, I'm now realizing that we do not support uploading custom geometry files. The geometry files in your model are not included in the geometry file repository in AddBiomechanics. We need a way to support uploading custom files, filing an issue for that now. For the filtering issue: I think th...