PaulStoffregen / NXPMotionSense

NXP Motion Sensors for Teensy and Arduino
69 stars 51 forks source link

Quaternion support for NXPSensorFusion, Orientation.ino and OrientationVisualiser.pde #4

Open davydovmax opened 7 years ago

davydovmax commented 7 years ago

Hi Paul,

I extended NXPSensorFusion, Orientation.ino and OrientationVisualiser.pde so Teensy can use quaternion rotation in addition to traditional heading/pitch/roll.

The OrientationVisualiser will automatically detect which orientation data is used (should work with old Orientation.ino code as well).

Huge thanks for the original code and for the Teensy of course.

ladyada commented 4 years ago

hi @davydovmax - if you'd like to get quaternion output, please check out our guide - you can set up any sensors you'd like, save calibrations, and we have quat output for all algorithms :) https://learn.adafruit.com/how-to-fuse-motion-sensor-data-into-ahrs-orientation-euler-quaternions we also have a web serial based visualizer that will use quaternions if available (see the last page)