Hello,
Is it possible to run the forward dynamics from a set of neural activations of the muscles? Does the "excitation editor" concern this?
Thank you for the reply
Forward dynamics from neural activation
- Diego Torricelli
- Posts: 4
- Joined: Fri Oct 29, 2010 4:40 am
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
RE: Forward dynamics from neural activation
Hi Diego,
Yes you can create and edit a fresh set of excitations in the excitation editor then you can use them to drive a forward simulation. If you have the EMG signals in the form of a storage file then you can use that to drive a Forward Simulation directly using the latest beta release of 2.2.
Hope this helps and please let us know if you have any questions.
Best regards,
-Ayman
Yes you can create and edit a fresh set of excitations in the excitation editor then you can use them to drive a forward simulation. If you have the EMG signals in the form of a storage file then you can use that to drive a Forward Simulation directly using the latest beta release of 2.2.
Hope this helps and please let us know if you have any questions.
Best regards,
-Ayman
- Diego Torricelli
- Posts: 4
- Joined: Fri Oct 29, 2010 4:40 am
RE: Forward dynamics from neural activation
Thank's Ayman for your quick reply!
I've another question related to this: can I realize any on-line closed loop control, i.e. change the excitations during the movement, based on the feedback information on current kinematics?
I'm afraid that this needs communication with Matlab /Simulink.. right? If so, can I export the models to Simulink blocks? Or, can I load any kind of intelligent control into OpenSim?
Yes, I want the moon..
Thank you very much!
Diego
I've another question related to this: can I realize any on-line closed loop control, i.e. change the excitations during the movement, based on the feedback information on current kinematics?
I'm afraid that this needs communication with Matlab /Simulink.. right? If so, can I export the models to Simulink blocks? Or, can I load any kind of intelligent control into OpenSim?
Yes, I want the moon..
Thank you very much!
Diego
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
RE: Forward dynamics from neural activation
Hi Diego,
Depending on how complicated is your controller, you can do the whole thing in OpenSim using the aPI (to create a custom controller) or export the model as a Simulink block. For the former solution I'd suggest you download version 2.2 release beta and try the ControllerExample (you need a development environment using VisualStudio 2008 Express) and let us know if you have questions. For the latter (Simulink) I'd suggest you contact the maintainers of the project https://simtk.org/home/opensim_matlab as they've done something similar in an earlier version of OpenSim.
Eitherway, we'll give you the moon
-Ayman
Depending on how complicated is your controller, you can do the whole thing in OpenSim using the aPI (to create a custom controller) or export the model as a Simulink block. For the former solution I'd suggest you download version 2.2 release beta and try the ControllerExample (you need a development environment using VisualStudio 2008 Express) and let us know if you have questions. For the latter (Simulink) I'd suggest you contact the maintainers of the project https://simtk.org/home/opensim_matlab as they've done something similar in an earlier version of OpenSim.
Eitherway, we'll give you the moon
-Ayman
- suparna dey
- Posts: 14
- Joined: Fri Feb 01, 2019 5:39 am
Re: Forward dynamics from neural activation
Dear All,
I would like to do something similar (closed-loop online control using a custom control). Could you please guide me as to where I can find the controllerexample currently?
Thanks and Regards
I would like to do something similar (closed-loop online control using a custom control). Could you please guide me as to where I can find the controllerexample currently?
Thanks and Regards
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Forward dynamics from neural activation
Hello,
The ControllerExample is distributed and installed in the resources directory in version 4.0 and later. Typically this is installed at
(C:\{user}\Documents\OpenSim\4.1\Code\CPP\ControllerExample)
Please give it a try and let us know if you run into problems,
Best regards,
-Ayman
The ControllerExample is distributed and installed in the resources directory in version 4.0 and later. Typically this is installed at
(C:\{user}\Documents\OpenSim\4.1\Code\CPP\ControllerExample)
Please give it a try and let us know if you run into problems,
Best regards,
-Ayman
Re: Forward dynamics from neural activation
Dear all
I am currently running a similar simulation. I plan to use the excitation to drive the model, which is recorded in the format of this file (subject01_walk1_controls.xml). I want to know if it's possible to call this file in MATLAB, if it's possible, could you please give me a guide? Or is there a more efficient way to conduct such a simulation?
Looking forward to your reply!
Thank you so much!
I am currently running a similar simulation. I plan to use the excitation to drive the model, which is recorded in the format of this file (subject01_walk1_controls.xml). I want to know if it's possible to call this file in MATLAB, if it's possible, could you please give me a guide? Or is there a more efficient way to conduct such a simulation?
Looking forward to your reply!
Thank you so much!