This program reads the angles from the acceleromter, gyrscope
and mangnetometer on a BerryIMU connected to a Raspberry Pi.
This program includes two filters (low pass and median) to improve the
values returned from BerryIMU by reducing noise.
http://ozzmaker.com/
Both the BerryIMUv1 and BerryIMUv2 are supported
BerryIMUv1 uses LSM9DS0 IMU
BerryIMUv2 uses LSM9DS1 IMU
Python2 and Python3 supported by this script
Python2;
Run using;
python berryIMU.py
python calibrateBerryIMU.py
Python3;
Run using;
python3 berryIMU.py
python3 calibrateBerryIMU.py