Teensy 3.1 with a MPU-9150 IMU as a datalogger using Arduino. Animation using Processing and Matlab.
draw_quaternions.m is the main script. A sample-file is attached to test the Matlab animation.
TODO: add Arduino source code of datalogger, overall system setup and Processing animation.
SdFat
https://github.com/greiman/SdFat
AHRS
http://x-io.co.uk/open-source-imu-and-ahrs-algorithms/
quaternion lib
http://www.montefiore.ulg.ac.be/~dteney/dml.htm
MPU-9150 lib
https://github.com/stpn/MPU9150Lib
Videos: https://youtu.be/GRWbBx6A0ik https://youtu.be/uWDj6R25xB8 https://youtu.be/uhyrLmjLYPk