pyomeca / ezc3d

Easy to use C3D reader/writer for C++, Python and Matlab
https://pyomeca.github.io/Documentation/ezc3d/index.html
MIT License
142 stars 44 forks source link

Rotations are not available in MATLAB, but works in Python #286

Closed mathiasbankay closed 1 year ago

mathiasbankay commented 1 year ago

Hi

I have compiled ezc3d for MATLAB with cmake following your video on youtube. Worked well. When I read a c3d-file generated from Theia, which includes rotations, ROTATION is available in c3d.parameters, but no rotations are available in c3d.data

Reading the same c3d in Python, [data][rotations] are availabe.

Is there anythink I did wrong?

Thank you very much for this great tool!

Best,

Mathias

pariterre commented 1 year ago

Hi @mathiasbankay ! There is nothing you did wrong, I simply did not implemented the Rotation yet in Matlab (assuming no one was actually interested by that!). I can look for a fix in the upcoming days!

mathiasbankay commented 1 year ago

Hi @pariterre! Thank you so much, this would be very kind if you can look for a fix.

pariterre commented 1 year ago

PR merged! (there was a small issue on UNIX that I had to fix) Thanks for using ezc3d :)