diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-24 13:26:28 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-24 13:26:28 +0200 |
commit | bf8956d2e87b29af25392b74a24ea0da8d422d4b (patch) | |
tree | 183bce80bc5631342040c1676e5314a885ede561 | |
parent | a40790985dfdea9386c3b8d9ee29629ec56a7bb7 (diff) | |
download | px4-firmware-bf8956d2e87b29af25392b74a24ea0da8d422d4b.tar.gz px4-firmware-bf8956d2e87b29af25392b74a24ea0da8d422d4b.tar.bz2 px4-firmware-bf8956d2e87b29af25392b74a24ea0da8d422d4b.zip |
Be only reasonably strict on avionics supply voltage.
-rw-r--r-- | src/modules/commander/state_machine_helper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/commander/state_machine_helper.cpp b/src/modules/commander/state_machine_helper.cpp index f8589d24b..c9fc9218c 100644 --- a/src/modules/commander/state_machine_helper.cpp +++ b/src/modules/commander/state_machine_helper.cpp @@ -183,9 +183,9 @@ arming_state_transition(struct vehicle_status_s *status, ///< current vehicle s // Fail transition if power levels on the avionics rail // are measured but are insufficient if (status->condition_power_input_valid && ((status->avionics_power_rail_voltage > 0.0f) && - (status->avionics_power_rail_voltage < 4.9f))) { + (status->avionics_power_rail_voltage < 4.75f))) { - mavlink_log_critical(mavlink_fd, "NOT ARMING: Avionics power low: %6.2f V.", (double)status->avionics_power_rail_voltage); + mavlink_log_critical(mavlink_fd, "NOT ARMING: Avionics power low: %6.2f Volt", (double)status->avionics_power_rail_voltage); feedback_provided = true; valid_transition = false; } |