Quaternion-based AHRS using AltIMU-10 & Arduino

Posted by David on 19 November 2013

Quaternion-based AHRS using AltIMU-10 & Arduino

Pololu forum user Camel recently posted the Quaternion-based AHRS using AltIMU-10 & Arduino. This is an Arduino program that can read data from our AltIMU-10 sensor board, compute the orientation of the board, and output it over serial. It uses quaternions internally to represent the rotation, but can output Euler anglers, a rotation matrix, or a quaternion. The MinIMU-9 v2 is just an AltIMU-10 without a pressure sensor, so the code can be made to work with a MinIMU-9 v2 by commenting out a few lines.

The AHRS program is part of the Firetail UAV System, an open source UAV autopilot system that is currently under development. You can follow the the project’s progress on its blog.


Post a comment

Using your Pololu account allows you to customize your avatar and manage your comments; you can also post anonymously.

New Products

Free Circuit Cellar magazine November 2015
50:1 Metal Gearmotor 37Dx70L mm with 64 CPR Encoder
Pololu 3.3V, 2.6A Step-Down Voltage Regulator D24V22F3
Pololu 9V, 2.3A Step-Down Voltage Regulator D24V22F9
MyoWare Muscle Sensor
Pololu 7.5V, 2.4A Step-Down Voltage Regulator D24V22F7
Pololu 5V, 2.5A Step-Down Voltage Regulator D24V22F5
0.1" (2.54mm) Crimp Connector Housing: 2x13-Pin 5-Pack
Scooter/Skate Wheel 144×29mm - Black
1000:1 Micro Metal Gearmotor HPCB with Extended Motor Shaft
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors