Page 1 of 1

converting data files created by a Motion Analysis system into files that can be imported into OpenSim

Posted: Fri Feb 10, 2023 6:51 am
by hailee
Hello! I'm a new user and I'm having trouble converting data files created by a Motion Analysis system into files that can be imported into OpenSim.I downloaded OpenSMAC, but the file I exported was incorrect and I could not import it into Opensim. What do I change to get those .mot and .trc files? Is there a step by step tutorial for this or some resource I can look at? Or is there another way? If using Matlab conversion, how to write the script, is there a tutorial for reference?
Anything would really help, I'm lost as to where to begin.
Thank you!

Re: converting data files created by a Motion Analysis system into files that can be imported into OpenSim

Posted: Fri Feb 10, 2023 8:54 am
by tkuchida
You can create .mot and .trc files using Matlab, Python, Excel, etc., as long as they satisfy the file format requirements. These requirements are described on the following pages in the User's Guide:
- "Motion (.mot) Files": https://simtk-confluence.stanford.edu:8 ... t%29+Files
- "Marker (.trc) Files": https://simtk-confluence.stanford.edu:8 ... c%29+Files
You may be able to find scripts on simtk or elsewhere that perform the necessary conversions; some tools are listed on the "Tools for Preparing Motion Data" page in the documentation (https://simtk-confluence.stanford.edu:8 ... otion+Data).