Python library for using the MPU9250. This chip includes a temperatures sensor, 3-axis gyro, 3-axis accelerometer, and slave device with 3-axis magnetometer.
To install, execute the following commands:
pip install smbus # required dependency
git clone https://github.com/modular-CAT/python_i2c_mpu9250 # or download as a zip and extract it somewhere handy
cd python_i2c_mpu9250
sudo python setup.py install
Ensure you have internet access so that you can install any required dependencies.
See usage examples in the examples folder.
Sensors may be purchased as Grove modules from Seeed studio:
www.seeedstudio.com/depot/Grove-IMU-10DOF-p-2386.html
See the seeed wiki for mor info:
www.seeedstudio.com/wiki/Grove_-_IMU_10DOF
Written by Daniel Smith for UNSW Australia and LaTrobe University. MIT license and all text above must be included in any redistribution