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?
How to controls the actuators.
- RAHUL GHARATE
- Posts: 84
- Joined: Thu Jun 13, 2019 11:43 pm
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: How to controls the actuators.
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
https://github.com/opensim-org/opensim- ... m/Examples
https://simtk-confluence.stanford.edu:8 ... lker+Model
- RAHUL GHARATE
- Posts: 84
- Joined: Thu Jun 13, 2019 11:43 pm
Re: How to controls the actuators.
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.
- william watson
- Posts: 1
- Joined: Fri Jul 26, 2019 2:36 am
Re: How to controls the actuators.
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.
- Thomas Uchida
- Posts: 1800
- Joined: Wed May 16, 2012 11:40 am
Re: How to controls the actuators.
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.
- RAHUL GHARATE
- Posts: 84
- Joined: Thu Jun 13, 2019 11:43 pm
Re: How to controls the actuators.
But where I put this program. I am really struggling to find it? plz, help.
Re: How to controls the actuators.
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.