- The MPU 9150 with RTIMU library (python) is drifing a lot when used in RPI3
-
Test another IMU with arduino using (https://kingtidesailing.blogspot.com/2015/09/how-to-setup-mpu-9150-9-axis.html) to check if that is the same case here too. (Download the libraries and check the BAUD RATE)
-
Follow this link for testing and calibration with RPI3. (Tutorial Not Clear -Vague)
-
Works well with this repo
-
Following this repo(https://github.com/blauret/RTIMU)a. RTIMU GUI for Calibration is cool...!
b. On Hold -> Check the Python interface values.
-
Follow this repo (https://kingtidesailing.blogspot.com/2016/02/how-to-setup-mpu-9250-on-raspberry-pi_25.html)
a. Seems easier
b. cd
RTIMULib2/Linux/python/tests
and runFusion.py
its good enough.c. run
RTIMULibCal
for calibration
- To make sure the imu works with main code in Python so that we could interface the existing
stoch
libraries - Estimation of x,y and orientation from IMU and UWB.
- Implementation of controls heuristics to follow a staright line.
- Smooth the turning with IMU
- Follow a curve
- Body Stabilisation
- Why IMU calibration is needed ?
- Check if IMU is connected on I2C line by
i2cdetect -y 1
ori2cdetect -y 0
. If you see a output like below, it's connected:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
-
Check if i2c is enabled by
dmesg | grep i2c
-
Don't use I2C for distance more than foot.
-
IMU is prone to interference by ferrous metal.
- https://arduino.stackexchange.com/questions/31552/mpu-6050-angle-drift
- https://www.novatel.com/assets/Documents/Bulletins/APN064.pdf
- "A robust and easy to implement method for IMU calibration without external equipments"
Added on 17/12/2018 (dd/mm/yyyy)
- https://github.com/kriswiner/MPU6050/wiki/Affordable-9-DoF-Sensor-Fusion (Theory)
- https://github.com/kriswiner/MPU9150 (Theory)
- https://github.com/kriswiner/MPU6050/wiki/Simple-and-Effective-Magnetometer-Calibration (Theory)
- https://www.instructables.com/id/Simple-Manual-Magnetometer-Calibration/ (Tutorial)
- I2c Reference (https://www.raspberrypi-spy.co.uk/2014/11/enabling-the-i2c-interface-on-the-raspberry-pi/) (enable I2C on rpi3)
- https://github.com/vmayoral/bb_mpu9150/blob/master/src/linux-mpu9150/README.md (ROS Package)
- https://github.com/mrbichel/linux-mpu9150 (Proper C++ repo for MPU-9150)
Added on 26/12/2018 (dd/mm/yyyy)
- Integrated all in one package BNO55