Saving joint angle data from C3D to .mot

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Tina Garman
Posts: 1
Joined: Mon Jan 23, 2023 4:31 pm

Saving joint angle data from C3D to .mot

Post by Tina Garman » Wed Jan 03, 2024 9:43 am

Hi. I am wanting to bring in joint angle data (and EMG data eventually) that is stored in a C3D file into OpenSim. I understand that this data needs to be saved as a .mot file. What is the easiest way to do this? I have used matlab in the past to get the marker and forceplate data into a .trc and .mot file but I have not had luck with exporting the joint angles from the C3D. Thanks!

Tags:

User avatar
Mohammadreza Rezaie
Posts: 407
Joined: Fri Nov 24, 2017 12:48 am

Re: Saving joint angle data from C3D to .mot

Post by Mohammadreza Rezaie » Thu Jan 04, 2024 1:36 pm

Hi,
If I'm not mistaken, in C3D files, the model outputs (Angles, Forces, Moments, and Powers) are included in Point data, i.e., they are already available in your markers data. Fortunately, since OpenSim v.4.4.1, you can get your EMG data via getAnalogDataTable. Please see:
https://simtk-confluence.stanford.edu:8 ... ith+Matlab
https://github.com/opensim-org/opensim- ... 3dExport.m
https://github.com/opensim-org/opensim- ... /osimC3D.m

POST REPLY