Hi,
I would like to feed in neural excitations I define (in a vector or other structure) to a model in MATLAB. I would also like to later on feed on joint torques to the model (both in a forward process sense).
Would you please assist me?
Best,
Ismail
How to feed in neural controls (or torque) to a model in MATLAB
- Ismail Raslan
- Posts: 5
- Joined: Thu Feb 04, 2021 4:01 am
- Carmichael Ong
- Posts: 401
- Joined: Fri Feb 24, 2012 11:50 am
Re: How to feed in neural controls (or torque) to a model in MATLAB
The "simple example" on the front of the GitHub page may be a good place to start for feeding neural excitations to muscles: https://github.com/opensim-org/opensim-core
A similar approach can be taken if instead of muscles, you use the CoordinateActuator (https://simtk.org/api_docs/opensim/api_ ... uator.html) to act as torque actuators and feed in controls via a PrescribedController, similar to the example above.
A similar approach can be taken if instead of muscles, you use the CoordinateActuator (https://simtk.org/api_docs/opensim/api_ ... uator.html) to act as torque actuators and feed in controls via a PrescribedController, similar to the example above.