Plane: Parachute uses altitude above ground (not home) to check suitability for deployment.
This commit is contained in:
parent
9fdf39baf0
commit
3c00324fd2
@ -46,7 +46,7 @@ bool Plane::parachute_manual_release()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (relative_altitude() < parachute.alt_min()) {
|
||||
if (relative_ground_altitude() < parachute.alt_min()) {
|
||||
gcs_send_text_fmt(MAV_SEVERITY_WARNING, "Parachute: Too low");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user