Page 1 of 1

Doubt in C3Dexport.m

Posted: Wed Jun 01, 2022 12:25 pm
by jobingthampi
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

Re: Doubt in C3Dexport.m

Posted: Wed Jun 01, 2022 5:55 pm
by tkuchida
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.