mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 06:40:35 +08:00
Adjusted mavlink info messages during gyro calibration to not break QGroundControl.
This commit is contained in:
committed by
Anton Babushkin
parent
0dc9c9ac26
commit
ed79b686c5
@@ -129,7 +129,7 @@ int do_gyro_calibration(int mavlink_fd)
|
||||
}
|
||||
|
||||
/* beep on calibration end */
|
||||
mavlink_log_info(mavlink_fd, "offset calibration done.");
|
||||
mavlink_log_info(mavlink_fd, "gyro offset calibration done.");
|
||||
tune_neutral();
|
||||
|
||||
/* set offset parameters to new values */
|
||||
@@ -240,7 +240,7 @@ int do_gyro_calibration(int mavlink_fd)
|
||||
}
|
||||
|
||||
/* beep on calibration end */
|
||||
mavlink_log_info(mavlink_fd, "scale calibration done.");
|
||||
mavlink_log_info(mavlink_fd, "gyro scale calibration done.");
|
||||
tune_neutral();
|
||||
|
||||
#endif
|
||||
@@ -270,6 +270,8 @@ int do_gyro_calibration(int mavlink_fd)
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
mavlink_log_info(mavlink_fd, "gyro calibration done.");
|
||||
|
||||
close(sub_sensor_gyro);
|
||||
return OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user