In this example we run the Analyze Tool to compute the trajectory of a point on a body.

The attached zip file contains:

double_pendulum.osim: A model of a pendulum with two links

double_pendulum_run.sto: Output from running the forward tool on the model for 2 seconds

analyzePointKinematicsPendulum.xml: setup file to run the analyze tool on the model and output the trajectory of the center of mass (happens to be 0, 0, 0) of the body (rod2) expressed in ground frame

double_pendulum_PointKinematics_COM_pos.sto: One of the output files of running the analyze tool that includes the desired trajectory