Visualizing quaternions in python

Viewed 552

I mounted an IMU on a drone which collected quaternion data (w,x,y,z) every 0.1s. Now i would like to compare the quaternion data to the actual drone orientation (video data).

So i would like to create some sort of box object that shows the orientation based on the quaternion data. I implemented the following tutorial which converts the quaternions to euler for visualization: https://www.youtube.com/watch?v=S77r-P6YxAU&list=PLGs0VKk2DiYwEo-k0mjIkWXlkrJWAU4L9&index=21

Is there a way to directly visualize quaternion data, without converting it to euler first? I feel like this should be possible, but i am not sure how.

0 Answers
Related