diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-27 10:36:43 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-27 10:36:43 +0200 |
commit | 33c73429098fee0650bdf2042a2c85e18975afca (patch) | |
tree | 2b41c85e46389f8b36667a1249740f6afcdde662 /src/modules/commander | |
parent | 70c9d48f6c47f3f3c5caae7643101e8eb90ebe57 (diff) | |
download | px4-firmware-33c73429098fee0650bdf2042a2c85e18975afca.tar.gz px4-firmware-33c73429098fee0650bdf2042a2c85e18975afca.tar.bz2 px4-firmware-33c73429098fee0650bdf2042a2c85e18975afca.zip |
Minor fixes for calibration, UI language much more readable now
Diffstat (limited to 'src/modules/commander')
-rw-r--r-- | src/modules/commander/accelerometer_calibration.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/commander/accelerometer_calibration.cpp b/src/modules/commander/accelerometer_calibration.cpp index 30ac07e33..ed6707f04 100644 --- a/src/modules/commander/accelerometer_calibration.cpp +++ b/src/modules/commander/accelerometer_calibration.cpp @@ -228,11 +228,11 @@ int do_accel_calibration_measurements(int mavlink_fd, float accel_offs[3], float mavlink_log_info(mavlink_fd, "directions left: %s%s%s%s%s%s", (!data_collected[0]) ? "x+ " : "", - (!data_collected[0]) ? "x- " : "", - (!data_collected[0]) ? "y+ " : "", - (!data_collected[0]) ? "y- " : "", - (!data_collected[0]) ? "z+ " : "", - (!data_collected[0]) ? "z- " : ""); + (!data_collected[1]) ? "x- " : "", + (!data_collected[2]) ? "y+ " : "", + (!data_collected[3]) ? "y- " : "", + (!data_collected[4]) ? "z+ " : "", + (!data_collected[5]) ? "z- " : ""); if (old_done_count != done_count) mavlink_log_info(mavlink_fd, "accel cal progress <%u> percent", 17 * done_count); |