mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-26 01:00:36 +08:00
Correct the mpu6000 temperature correction scalar value to match the datasheet.
This commit is contained in:
1 parent
6e5bd1ad70
commit
cced80edf9
1 file changed
+1
-1
@@ -943,7 +943,7 @@ MPU6000::measure()
|
||||
temperature = (report.temp / 326.8f + 25.0f);
|
||||
|
||||
} else { // If it is an MPU6000
|
||||
temperature = (report.temp / 361.0f + 35.0f);
|
||||
temperature = (report.temp / 340.0f + 35.0f);
|
||||
}
|
||||
|
||||
_px4_accel.set_temperature(temperature);
|
||||
|
||||
Reference in new issue
Block a user