Page 1 of 1

How to controls the actuators.

Posted: Tue Jul 23, 2019 8:04 pm
by rahulgharate
I have provided an actuator to the model. I need to know when the actuator actuates at which instance. Now I have provided path actuator to the femur and foot segment.
How to controls the actuator and how we confirm the actuator actuates on which phase?

Re: How to controls the actuators.

Posted: Tue Jul 23, 2019 10:28 pm
by mitkof6
I suppose that you would like to create a controller that will decide when you activate an actuator in order to achieve some goal. In essence you will have to create a closed loop forward dynamics system. Depending on the model and your problem this is a very challenging task. You can find the following examples instructive

https://github.com/opensim-org/opensim- ... m/Examples
https://simtk-confluence.stanford.edu:8 ... lker+Model

Re: How to controls the actuators.

Posted: Wed Jul 24, 2019 10:58 pm
by rahulgharate
Can I do this without programming. Please give me direction. I need to control the actuator and I need to know when and what instance it actuates. also How I can change this instance.

Re: How to controls the actuators.

Posted: Fri Jul 26, 2019 2:41 am
by williamwatson98
I have provided an actuator to the model and I need to know how can I control actuators, although I tried to do it but I fead an error windows defender error 577 , so I want a solution how can I remove this error.

Re: How to controls the actuators.

Posted: Fri Jul 26, 2019 7:09 am
by tkuchida
The example on the GitHub homepage (https://github.com/opensim-org/opensim-core, under the "Simple example" heading a little bit down the page) uses a controller. The example is written in C++, Python, and Matlab.

Re: How to controls the actuators.

Posted: Sun Jul 28, 2019 10:49 am
by rahulgharate
But where I put this program. I am really struggling to find it? plz, help.

Re: How to controls the actuators.

Posted: Sun Jul 28, 2019 12:01 pm
by jimmy
You can run the code that performs the simulation using Python, Matlab, or C++ environments. The documentation on performing scripting will help you set up and run OpenSim in the environment of your choice.