Search found 3 matches

by Jenna Li
Tue Jul 09, 2024 7:03 am
Forum: OpenSim
Topic: How To Get the Torque at Specific Positions?
Replies: 3
Views: 233

Re: How To Get the Torque at Specific Positions?

Also I am hoping to use InverseDynamicTools to get the torque values through a motion from a motion sto file. On the API it says: "As an additional service, the InverseDynamicsTool can provide an equivalent body force (torque and force) applied to the joint frame. Since generalized forces include sc...
by Jenna Li
Tue Jul 09, 2024 5:39 am
Forum: OpenSim
Topic: How To Get the Torque at Specific Positions?
Replies: 3
Views: 233

Re: How To Get the Torque at Specific Positions?

Thank you so much for the response! I tried using InverseDynamicsSolver but got very strange values as output. the values (below) are very large, and don't seem to match up with what I think the torque should be. here's my code: def get_torque_values(model, state, pos=None, coord_names = ["elv_angle...
by Jenna Li
Fri Jul 05, 2024 2:23 pm
Forum: OpenSim
Topic: How To Get the Torque at Specific Positions?
Replies: 3
Views: 233

How To Get the Torque at Specific Positions?

We have a model, and we are trying to get an approximation of how difficult certain poses are. We are trying to get the torque at different positions in python. Does anyone have any sample scripts or pointers on how to do that?