mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 17:38:32 -04:00
Plane: allow manual parachute releases on the ground
This commit is contained in:
parent
ef3d17cc4c
commit
263931b4b1
@ -39,8 +39,9 @@ bool Plane::parachute_manual_release()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (parachute.alt_min() > 0 && relative_ground_altitude(false) < parachute.alt_min() &&
|
||||||
if (parachute.alt_min() != 0 && relative_ground_altitude(false) < parachute.alt_min()) {
|
auto_state.started_flying_in_auto_ms > 0 && auto_state.takeoff_complete) {
|
||||||
|
// Allow manual ground tests by only checking if flying too low if we've taken off
|
||||||
gcs_send_text_fmt(MAV_SEVERITY_WARNING, "Parachute: Too low");
|
gcs_send_text_fmt(MAV_SEVERITY_WARNING, "Parachute: Too low");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user