Page 1 of 1

adding a controller

Posted: Sat Jan 05, 2019 7:32 am
by m.rasool
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

Re: adding a controller

Posted: Mon Jan 07, 2019 7:57 am
by mitkof6
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.