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

4.2-15V, 3A Fine-Adjust Step-Down Voltage Regulator D30V30MAS
298:1 Micro Metal Gearmotor LP 6V with 12 CPR Encoder, Side Connector
Motoron M3H550 Triple Motor Controller for Raspberry Pi (No Connectors or Standoffs)
Ribbon Cable Premium Jumper Wires 10-Color F-F 60" (150 cm)
ACS724 Current Sensor Carrier 0A to 20A
AltIMU-10 v6 Gyro, Accelerometer, Compass, and Altimeter (LSM6DSO, LIS3MDL, and LPS22DF Carrier)
Motoron M3H550 Triple Motor Controller for Raspberry Pi (Connectors Soldered)
MinIMU-9 v6 Gyro, Accelerometer, and Compass (LSM6DSO and LIS3MDL Carrier)
ACS724 Current Sensor Carrier -2.5A to +2.5A
3pi+ 2040 Control Board
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