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](Plot_comparison.png)