mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Temporary (or not) fix calibration failure due
Due to the uOrb publishing rate difference beteen the mpu9250 driver and the mpu6000 driver on the ICM-20608-G. The latter driver has an integrator output the limit the publishing rate
This commit is contained in:
parent
2ce6988436
commit
99921db5cf
@ -137,7 +137,7 @@ static calibrate_return gyro_calibration_worker(int cancel_sub, void* data)
|
||||
}
|
||||
|
||||
for (unsigned s = 0; s < max_gyros; s++) {
|
||||
if (worker_data->device_id[s] != 0 && calibration_counter[s] < calibration_count / 2) {
|
||||
if (worker_data->device_id[s] != 0 && calibration_counter[s] < calibration_count / 4) {
|
||||
mavlink_and_console_log_critical(worker_data->mavlink_fd, "[cal] ERROR: missing data, sensor %d", s)
|
||||
return calibrate_return_error;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user