diff options
author | Andreas Antener <antener_a@gmx.ch> | 2014-12-02 01:37:54 +0100 |
---|---|---|
committer | Andreas Antener <antener_a@gmx.ch> | 2014-12-02 01:37:54 +0100 |
commit | b1bd813978e48d32a66b8a49bccdda7f053ea55c (patch) | |
tree | d2a08bbaca69bc97a4eecaafc7bf50893c0c68e2 /src/modules | |
parent | 3ce7abe9d84a6c716985339c8165bec98e481847 (diff) | |
download | px4-firmware-b1bd813978e48d32a66b8a49bccdda7f053ea55c.tar.gz px4-firmware-b1bd813978e48d32a66b8a49bccdda7f053ea55c.tar.bz2 px4-firmware-b1bd813978e48d32a66b8a49bccdda7f053ea55c.zip |
swap fron/back > the "side" being measured is facing downwards
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/commander/accelerometer_calibration.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/commander/accelerometer_calibration.cpp b/src/modules/commander/accelerometer_calibration.cpp index 8eac0a6fd..49c653ad2 100644 --- a/src/modules/commander/accelerometer_calibration.cpp +++ b/src/modules/commander/accelerometer_calibration.cpp @@ -263,7 +263,7 @@ int do_accel_calibration_measurements(int mavlink_fd, float accel_offs[3], float const int samples_num = 2500; float accel_ref[6][3]; bool data_collected[6] = { false, false, false, false, false, false }; - const char *orientation_strs[6] = { "front", "back", "left", "right", "up", "down" }; + const char *orientation_strs[6] = { "back", "front", "left", "right", "up", "down" }; int sensor_combined_sub = orb_subscribe(ORB_ID(sensor_combined)); @@ -294,8 +294,8 @@ int do_accel_calibration_measurements(int mavlink_fd, float accel_offs[3], float /* inform user which axes are still needed */ mavlink_log_info(mavlink_fd, "pending: %s%s%s%s%s%s", - (!data_collected[0]) ? "front " : "", - (!data_collected[1]) ? "back " : "", + (!data_collected[0]) ? "back " : "", + (!data_collected[1]) ? "front " : "", (!data_collected[2]) ? "left " : "", (!data_collected[3]) ? "right " : "", (!data_collected[4]) ? "up " : "", |