adding a controller

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
mohamad rasool mohamadi
Posts: 14
Joined: Tue Oct 17, 2017 12:59 am

adding a controller

Post by mohamad rasool mohamadi » Sat Jan 05, 2019 7:32 am

hi dear all
is it possible to add a custom controller in opensim programming(.osim) or in matlab by creating a controlset file? i have extended a model and performed some simulations, but now i need to write a controller(defining rules to exert desired output) and i was wondering is it possible?and is there any examples?
best regards

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: adding a controller

Post by Dimitar Stanev » Mon Jan 07, 2019 7:57 am

Please look at the source code provided in the following repository:

https://simtk.org/projects/eye

We have created an eye model and a custom fixation controller. The controller is implemented with the C++ API and exported as a GUI plugin. This permits the user to specify the controller parameters in the .osim model file and utilize the controller in the GUI.

POST REPLY