diff options
author | Don Gagne <don@thegagnes.com> | 2015-03-23 19:01:03 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-28 13:09:07 -0700 |
commit | fdc053e88355dcd5690f5cd9e28ca2069c1a2776 (patch) | |
tree | b732fcc3c147965e178fb5d5d45bdd966af5ea02 | |
parent | eff3d9d71313245caec22ab7a80a7aff3fa13b66 (diff) | |
download | px4-firmware-fdc053e88355dcd5690f5cd9e28ca2069c1a2776.tar.gz px4-firmware-fdc053e88355dcd5690f5cd9e28ca2069c1a2776.tar.bz2 px4-firmware-fdc053e88355dcd5690f5cd9e28ca2069c1a2776.zip |
Add sensor number to messages
-rw-r--r-- | src/modules/commander/calibration_messages.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/modules/commander/calibration_messages.h b/src/modules/commander/calibration_messages.h index b1e209efc..29f44dc36 100644 --- a/src/modules/commander/calibration_messages.h +++ b/src/modules/commander/calibration_messages.h @@ -47,10 +47,12 @@ #define CAL_FAILED_MSG "%s calibration: failed" #define CAL_PROGRESS_MSG "%s calibration: progress <%u>" -#define CAL_FAILED_SENSOR_MSG "ERROR: failed reading sensor" -#define CAL_FAILED_RESET_CAL_MSG "ERROR: failed to reset calibration" -#define CAL_FAILED_APPLY_CAL_MSG "ERROR: failed to apply calibration" -#define CAL_FAILED_SET_PARAMS_MSG "ERROR: failed to set parameters" +#define CAL_FAILED_UNKNOWN_ERROR "ERROR: unknown error" +#define CAL_FAILED_SENSOR_MSG "ERROR: failed reading sensor" +#define CAL_FAILED_RESET_CAL_MSG "ERROR: failed to reset calibration, sensor %u" +#define CAL_FAILED_APPLY_CAL_MSG "ERROR: failed to apply calibration, sensor %u" +#define CAL_FAILED_SET_PARAMS_MSG "ERROR: failed to set parameters, sensor %u" #define CAL_FAILED_SAVE_PARAMS_MSG "ERROR: failed to save parameters" +#define CAL_FAILED_ORIENTATION_TIMEOUT "ERROR: timed out waiting for correct orientation" #endif /* CALIBRATION_MESSAGES_H_ */ |