Description: Aim of my code:
There a lot of projects available on the web for 1 axis-filtering, but not much in 3 dimensions.
And I had a lot of trouble getting useful and relevant information.
For the big majority, the Kalman Filter part in those projects is either commented by "I found that elsewhere, and it works" or not understandable.
So I started from scratch and kept the Kalman Filtering part really clear and well commented.
It will be really helpful for anyone wanting a tutorial about doing a Kalman Filter for Accelerometer, Gyroscope and Compass. Every step is detailed.
It then will be useful not only for those wanting to use it like that, but for everyone wanting to learn how is the Kalman Filter working.
To Search:
File list (Check if you may need any files):
KalmanFilteredIMU
.................\IMPORTANT TO BUILD.txt
.................\KalmanFilteredIMU
.................\KalmanFilteredIMU.avrsln
.................\KalmanFilteredIMU.avrsuo
.................\.................\Debug
.................\.................\.....\i2ccomm.d
.................\.................\.....\i2ccomm.o
.................\.................\.....\KalmanFilter.d
.................\.................\.....\KalmanFilter.o
.................\.................\.....\KalmanFilteredIMU.d
.................\.................\.....\KalmanFilteredIMU.eep
.................\.................\.....\KalmanFilteredIMU.elf
.................\.................\.....\KalmanFilteredIMU.hex
.................\.................\.....\KalmanFilteredIMU.lss
.................\.................\.....\KalmanFilteredIMU.map
.................\.................\.....\KalmanFilteredIMU.o
.................\.................\.....\makedep.mk
.................\.................\.....\Makefile
.................\.................\.....\mathstools.d
.................\.................\.....\mathstools.o
.................\.................\.....\sensors.d
.................\.................\.....\sensors.o
.................\.................\.....\usart.d
.................\.................\.....\usart.o
.................\.................\i2ccomm.cpp
.................\.................\i2ccomm.h
.................\.................\KalmanFilter.cpp
.................\.................\KalmanFilter.h
.................\.................\KalmanFilteredIMU.avrgccproj
.................\.................\KalmanFilteredIMU.cpp
.................\.................\mathstools.cpp
.................\.................\mathstools.h
.................\.................\sensors.cpp
.................\.................\sensors.h
.................\.................\usart.cpp
.................\.................\usart.h