Skip to content
Arduino implementation of the MadgwickAHRS algorithm
C++ Processing
Branch: master
Clone or download
Latest commit 70fd2c9 Sep 12, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
extras/Visualizer Add Visualizer example for Processing Mar 24, 2016
keywords.txt Merge pull request #7 from PaulStoffregen/master Mar 22, 2016


Madgwick Library

This library wraps the official implementation of MadgwickAHRS algorithm to get orientation of an object based on accelerometer and gyroscope readings


Copyright (c) Arduino LLC. All right reserved.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Implementation of Madgwick’s IMU and AHRS algorithms. See:

Date Author Notes 29/09/2011 SOH Madgwick Initial release 02/10/2011 SOH Madgwick Optimised for reduced CPU load 19/02/2012 SOH Madgwick Magnetometer measurement is normalised

You can’t perform that action at this time.