Doubt in C3Dexport.m

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Jobin Geevarghese ThampI
Posts: 32
Joined: Sat Apr 30, 2022 10:42 am

Doubt in C3Dexport.m

Post by Jobin Geevarghese ThampI » Wed Jun 01, 2022 12:25 pm

Hi, i was going through thec3dexport.m Matlab code. so while i went through the code i was not able to understang why the data is being rotated by 90 degrees
Attachments
c3dexport.m doubt.png
c3dexport.m doubt.png (5.45 KiB) Viewed 239 times

Tags:

User avatar
Thomas Uchida
Posts: 1794
Joined: Wed May 16, 2012 11:40 am

Re: Doubt in C3Dexport.m

Post by Thomas Uchida » Wed Jun 01, 2022 5:55 pm

The data are being rotated because the "lab" frame (the frame with respect to which the C3D data are expressed) has a different orientation than the "Ground" frame in OpenSim (where the Y-axis points up). There may be some additional information in the "Preparing Your Data" section of the documentation: https://simtk-confluence.stanford.edu:8 ... +Your+Data.

POST REPLY