Comparison Torque from id_results.sto and GUI Plot tool

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Benedict Koenen
Posts: 5
Joined: Fri Nov 18, 2022 1:52 am

Comparison Torque from id_results.sto and GUI Plot tool

Post by Benedict Koenen » Sun Sep 17, 2023 2:08 am

Hey Community,

I calculated a joint torque in two different ways, now I am surprised that they differ greatly.

Firstly, I ran an IK and ID in the GUI. Then I used the plot tool and its built-in feature to visualize the joint torque. This results in the red curve. (Don't mind the artefact on the top peaks of the red curve).

Secondly, I loaded the id_results.sto file and selected the same joint torque for visualization. This results in the blue curve.

My question is, why do they differ so much from oneanother ? Is the torque being filtered when calculated through the GUI?

Additionally, I can only generate the blue curve from Python code. Thus, I am also interested in how to generate the red curve using python.

Thanks in advance,
Benedict.

Image
Attachments
Plot_comparison.png
Plot_comparison.png (131.85 KiB) Viewed 146 times

Tags:

POST REPLY