Quaternion-based AHRS using AltIMU-10 & Arduino

Posted by David on 19 November 2013


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.

0 comments

Post a comment

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

New Products

Magnetic Encoder Pair Kit with Top-Entry Connector for 20D mm Metal Gearmotors, 20 CPR, 2.7-18V
CT220BMV-HS5 Contactless Current Sensor Carrier ±1.5mT/15G
Motoron M3T453 Triple I²C Motor Controller with JST SH-Style Connectors and VIN Terminal Block
Pololu I²C Isolator with Isolated Power, ISO1640, MIE1W0505BGLVH, 5V/3.3V, 200mA
12V, 9A Step-Down Voltage Regulator D42V110F12
Breakout for JST SH-Style Connector, 4-Pin Male Top-Entry (2-Pack)
Breakout for JST PH-Style Connector, 2-Pin Male Top-Entry, with SH
ACS37042KLHBLT-010B3 Current Sensor Compact Carrier -10A to +10A, 3.3V
0.100″ (2.54 mm) Breakaway Male Header: 1×4-Pin, Right Angle, Black, 50-Pack
ACS37800KMACTR-030B3-I2C Power Monitor Carrier with Secondary I²C Isolation (Soldered Terminal Block)
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors