Hi,
I'm currently scripting with the GUI. I need to do the same processes done in tutorial three (please see the attached file) but using trc files instead of xml files. The trc files, containing marker trajectories, work fine when input manually through the toolboxes. In the script the syntax needs to be changed like in this part of the code:
## Inverse Kinematics tool
# Create the IK tool object from existing xml
ikTool = modeling.InverseKinematicsTool(ikSetupFile)
ikTool.setModel(myModel)
ikTool.run()
How? Any help please?
Thanks in advance
Using trc files instead of xml files
- Samer Moghnieh
- Posts: 1
- Joined: Wed Feb 28, 2018 11:49 am
Using trc files instead of xml files
- Attachments
-
- runTutorialThree.txt
- (5.03 KiB) Downloaded 23 times
Tags:
Re: Using trc files instead of xml files
The API Documentation for the inverse kinematics tool is here;
https://simtk.org/api_docs/opensim/api_ ... sTool.html
If you want to change the marker data file it will be something like;
ikTool.setMarkerDataFileName(path2TRCFile)
https://simtk.org/api_docs/opensim/api_ ... sTool.html
If you want to change the marker data file it will be something like;
ikTool.setMarkerDataFileName(path2TRCFile)