diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-02 21:24:50 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-02 21:24:50 +0100 |
commit | b51c6693445be6ff230b3d34ad400553aadddd7e (patch) | |
tree | 01ac473924dfe8a207c6528b19e9b4a49c00e9ab /src/modules/commander/gyro_calibration.cpp | |
parent | d610564fd007112ed3e66d80fe63014424727f8b (diff) | |
download | px4-firmware-b51c6693445be6ff230b3d34ad400553aadddd7e.tar.gz px4-firmware-b51c6693445be6ff230b3d34ad400553aadddd7e.tar.bz2 px4-firmware-b51c6693445be6ff230b3d34ad400553aadddd7e.zip |
Commander: Improve calibration routines to produce more conscise and better sequenced instructions
Diffstat (limited to 'src/modules/commander/gyro_calibration.cpp')
-rw-r--r-- | src/modules/commander/gyro_calibration.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/commander/gyro_calibration.cpp b/src/modules/commander/gyro_calibration.cpp index d89c67c2b..8ab14dd52 100644 --- a/src/modules/commander/gyro_calibration.cpp +++ b/src/modules/commander/gyro_calibration.cpp @@ -63,7 +63,10 @@ static const char *sensor_name = "gyro"; int do_gyro_calibration(int mavlink_fd) { mavlink_log_info(mavlink_fd, CAL_STARTED_MSG, sensor_name); - mavlink_log_info(mavlink_fd, "don't move system"); + mavlink_log_info(mavlink_fd, "HOLD STILL"); + + /* wait for the user to respond */ + sleep(2); struct gyro_scale gyro_scale = { 0.0f, |