I am using a modified version of the gait2392 model.
I have a simple motion file (bodymot.mot) which describes a simple squat movement.
This file just gives the hip and knee angle for 100 time steps.
I want to output the positions, speeds, accelerations of the femur and tibia bodies
as well as the com of the whole person.
As I leared this should be possible with the Analyze Tool using the OutputReporter.
To my understanding it should be sufficient to set output_paths properly.
Is there any documentation available?
I found several postings usning python and c++, but this is of little help,
since I woulld have to learn a lot for such a solution.
Martin
p.s.: if i type in the lines
model = getCurrentModel();
state = model.initSystem();
pos = model.calcMassCenterPosition(state);
pos
in the scripting window, i get the com of the initial com position.
can this example be extended? the results would have to be printed to a file
com position and body position, speed, acceleration
- Martin Mössner
- Posts: 17
- Joined: Thu Jan 17, 2019 8:40 am
Re: com position and body position, speed, acceleration
You can run an Analyses and include body kinematics analysis.
We don't recommend using the GUI scripting shell to write data to file.
We don't recommend using the GUI scripting shell to write data to file.