mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 20:51:35 +08:00
Be only reasonably strict on avionics supply voltage.
This commit is contained in:
@@ -183,9 +183,9 @@ arming_state_transition(struct vehicle_status_s *status, ///< current vehicle s
|
|||||||
// Fail transition if power levels on the avionics rail
|
// Fail transition if power levels on the avionics rail
|
||||||
// are measured but are insufficient
|
// are measured but are insufficient
|
||||||
if (status->condition_power_input_valid && ((status->avionics_power_rail_voltage > 0.0f) &&
|
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;
|
feedback_provided = true;
|
||||||
valid_transition = false;
|
valid_transition = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user