Hi,
I would like to know how to get access to joint torques during forward simulation using python API? Is there any API command for it?
Thanks,
Saurabh
Get joint torques during forward simulation
- Saurabh Kothari
- Posts: 12
- Joined: Fri Aug 19, 2016 10:23 am
- Saurabh Kothari
- Posts: 12
- Joined: Fri Aug 19, 2016 10:23 am
Re: Get joint torques during forward simulation
From simbody documentation, it seems getMobilityForces() and getRigidBodyForces() functions could be used for this. Can someone tell what is the difference between these two functions? And which one is appropriate for getting joint moments/torques due to muscles, gravity, centrifugal and coriolis? A code snippet would also be helpful.
Thanks,
Saurabh
Thanks,
Saurabh