lis-epfl / MAVRIC_Library

Software library to build drone autopilots
http://lis-epfl.github.io/MAVRIC_Library/
BSD 3-Clause "New" or "Revised" License
12 stars 21 forks source link

MPU9250, mag not working, gyro wrong scale #325

Open jlecoeur opened 8 years ago

jlecoeur commented 8 years ago

I saw two issues with the MPU9250:

(branch mobrob_sparkyv2)

jlecoeur commented 8 years ago

edit: units

jlecoeur commented 8 years ago

I did some tests regarding gyro scale. I think the chip is not configured properly.

First I multiplied by 2 gyroscale and obtained correct scale with gyro_range = GYRO_500_DEG; Then I configured the module with

jlecoeur commented 8 years ago

Quick fixes until we solve the issue in the driver: