forward dymamics , apply only joint torqus

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
barak ostraich
Posts: 42
Joined: Thu Apr 12, 2018 12:17 am

forward dymamics , apply only joint torqus

Post by barak ostraich » Tue Jun 19, 2018 4:56 am

How can i do forward simulation in opensim GUI with only joint moments. I have a model with no muscles,
Can i build a file with only joint moments.
i tried to build sto file with columns of coord1_moment coord2_moment(and translated to xml). but i get :
"WARN: Controller::setup : Actuator coord_moment was not found and will be ignored"

for example:
in matlab robotics i can easily give initial position, initial velocity and torques for each joint, to get the accelerations.

please help
barak

Tags:

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: forward dymamics , apply only joint torqus

Post by jimmy d » Tue Jun 19, 2018 1:16 pm

You can use the PrescribedForces() class to set the forces for rotational and translational coordinates;
https://simtk.org/api_docs/opensim/api_ ... Force.html

POST REPLY