Open jlecoeur opened 8 years ago
edit: units
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
gyro_range = GYRO_1000_DEG;
-> value 2 times too highgyro_range = GYRO_250_DEG;
-> value 2 times too lowQuick fixes until we solve the issue in the driver:
gyro_range = GYRO_500_DEG;
.update_step_mag();
in Ahrs_ekf::update()
here ahrs_ekf.cpp#L425
I saw two issues with the MPU9250:
(branch mobrob_sparkyv2)