Skip to content

softwarenerd/MadgwickAHRS

Repository files navigation

MadgwickAHRS

GitHub license platforms Carthage compatible

MadgwickAHRS is a port of the C implementation of MadgwickAHRS to an iOS Framework written in Objective-C.

Getting Started

MadgwickAHRS should be used via Carthage dependency manager. Follow the Carthage build instructions for building for iOS. Essentially:

Add MadgwickAHRS to your Cartfile

github "softwarenerd/MadgwickAHRS"

Add MadgwickAHRS.framework to Linked Frameworks and Libraries

AddFramework

Add Copy Frameworks Run Script

Add a run script that uses the carthage copy-frameworks command to copy the MadgwickAHRS.framework

RunScript

Usage

See CoreMotionMadgwickTestDriver for a sample of how to use MadgwickAHRS.

RawIMU Sample App

The RawIMU project contains a sample app that uses MadgwickAHRS.

Clone Raw IMU

~/Code git clone [email protected]:softwarenerd/RawIMU.git

Optionally, Build Carthage Dependencies

~/Code/RawIMU carthage bootstrap

Known Issues

  • Additional unit tests would be nice.

License

MadgwickAHRS is released under the GNU General Public License.