diff options
author | Stefan Rado <px4@sradonia.net> | 2013-10-20 00:08:36 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2013-10-21 09:32:37 +0200 |
commit | ed79b686c57f41d9d6bd3726fe0071e11740b3d7 (patch) | |
tree | 0036904c0320123e1af0059de0637d53eee16521 | |
parent | 0dc9c9ac262c10866cbaf23ca98c8ce4582b5993 (diff) | |
download | px4-firmware-ed79b686c57f41d9d6bd3726fe0071e11740b3d7.tar.gz px4-firmware-ed79b686c57f41d9d6bd3726fe0071e11740b3d7.tar.bz2 px4-firmware-ed79b686c57f41d9d6bd3726fe0071e11740b3d7.zip |
Adjusted mavlink info messages during gyro calibration to not break QGroundControl.
-rw-r--r-- | src/modules/commander/gyro_calibration.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/commander/gyro_calibration.cpp b/src/modules/commander/gyro_calibration.cpp index b6de5141f..e1d6e8340 100644 --- a/src/modules/commander/gyro_calibration.cpp +++ b/src/modules/commander/gyro_calibration.cpp @@ -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; } |