mirror of https://github.com/ArduPilot/ardupilot
Plane: show message for skipping gyro cal
This commit is contained in:
parent
3f0af2ce29
commit
9d34494bfd
|
@ -588,6 +588,8 @@ void Plane::startup_INS_ground(void)
|
||||||
if (ins.gyro_calibration_timing() != AP_InertialSensor::GYRO_CAL_NEVER) {
|
if (ins.gyro_calibration_timing() != AP_InertialSensor::GYRO_CAL_NEVER) {
|
||||||
gcs().send_text(MAV_SEVERITY_ALERT, "Beginning INS calibration. Do not move plane");
|
gcs().send_text(MAV_SEVERITY_ALERT, "Beginning INS calibration. Do not move plane");
|
||||||
hal.scheduler->delay(100);
|
hal.scheduler->delay(100);
|
||||||
|
} else {
|
||||||
|
gcs().send_text(MAV_SEVERITY_ALERT, "Skipping INS calibration");
|
||||||
}
|
}
|
||||||
|
|
||||||
ahrs.init();
|
ahrs.init();
|
||||||
|
|
Loading…
Reference in New Issue