Skip to content

Fuses IMU readings with a complementary filter to achieve accurate pitch and roll readings.

License

Notifications You must be signed in to change notification settings

seanboe/SimpleFusion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


complementary_filter
SimpleFusion

A library that fuses accelerometer and gyroscope readings quickly and easily with a complementary filter.

Overview

This library combines accelerometer (in meters / second ²) and gyroscope (in radians / second) data to output the IMU's rotation (Euler angles). It is accurate up to ± 90 degrees.

Note the the lxibrary defines pitch to be a rotation about the y-axis and roll to be a rotation about the x-axis.

Benefits

Here's a comparison of different high-speed methods for estimating pitch and roll.



The complementary filter returns smooth readings despite non-zero acceleration.

License

MIT