MocoCasADiSolver does not support models with Controllers

OpenSim Moco is a software toolkit to solve optimal control problems with musculoskeletal models defined in OpenSim using the direct collocation method.
POST REPLY
User avatar
Md Asif Arefeen
Posts: 2
Joined: Mon Nov 13, 2023 7:57 am

MocoCasADiSolver does not support models with Controllers

Post by Md Asif Arefeen » Wed May 29, 2024 1:00 pm

Hello,

I am receiving the attached error. I am using OpenSim 4.5, and models with PrescribedController should work, right? (https://github.com/opensim-org/opensim- ... OG_MOCO.md). Could you please give me any suggestions on what could be the reason? Please note I am using MocoInverse.


Thank you,
Asif
Attachments
error_controller.JPG
error_controller.JPG (62.69 KiB) Viewed 478 times

User avatar
Nicholas Bianco
Posts: 999
Joined: Thu Oct 04, 2012 8:09 pm

Re: MocoCasADiSolver does not support models with Controllers

Post by Nicholas Bianco » Thu May 30, 2024 9:30 am

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 guarantee the same testing and stability as a full OpenSim release.

Best,
Nick

User avatar
Md Asif Arefeen
Posts: 2
Joined: Mon Nov 13, 2023 7:57 am

Re: MocoCasADiSolver does not support models with Controllers

Post by Md Asif Arefeen » Thu May 30, 2024 6:31 pm

Alright, I got it. Thank you, Nick.

POST REPLY