In this post I am going to post the code for a simple 6 degree of freedom version of my complimentary filter. This should give anyone who wants to better understand what is going on an opportunity to play with the actual code. In future posts I will explain how to add a magnetometer and then give the code for a 9dof complimentary filter.
Showing posts with label accelerometer filter. Show all posts
Showing posts with label accelerometer filter. Show all posts
Tuesday, June 30, 2015
Monday, June 15, 2015
Quaternion IMU Drift Compensation: Accelerometer
I will now explain how I perform gyro drift compensation in the pitch and roll directions using the output of an accelerometer. In a future post I will discuss using a magnetometer to counter gyro drift in the yaw direction. Before going into the theory and math, here's a quick overview of what an accelerometer is.
Subscribe to:
Posts (Atom)