thecountoftuscany / PyTeapot-Quaternion-Euler-cube-rotation

Visualization of IMU orientation from quaternion or Euler angles with a rotating cube
GNU General Public License v3.0
144 stars 42 forks source link

Which order to pass quaternions? #13

Closed AsternA closed 2 years ago

AsternA commented 2 years ago

Hey!

I have a dataset of IMU recordings with video and I want to verify that the quaternion outputs match the orientation I see on the video itself but I see no correlation between the video and the visualization for some reason.

I am trying to see if the sensor is outputting the wrong quaternion information (could be, using pretty low MAG, GYRO and ACCEL sample rate) but to be sure I need to know that the visualization is not wrong.

I am passing QuatW QuatX QuatY and QuatZ. Is this the correct order?

Thanks

AsternA commented 2 years ago

going into the code I saw that it is in deed W X Y Z.

Can close this issue

thecountoftuscany commented 2 years ago

Yes, also described in the readme