mirror of https://github.com/ArduPilot/ardupilot
Revert "Plane: cope with Q pitch limit larger than fixed wing limit"
This reverts commit 74da3c74ac
.
This commit is contained in:
parent
4df09360ab
commit
85743be4f3
|
@ -278,10 +278,7 @@ bool QuadPlane::tailsitter_transition_vtol_complete(void) const
|
|||
return true;
|
||||
}
|
||||
}
|
||||
// limit completion angle to just below fixed wing pitch limit
|
||||
const float margin_deg = 3;
|
||||
const float trans_angle = MIN(get_tailsitter_transition_angle_vtol(),
|
||||
plane.aparm.pitch_limit_max_cd*0.01-margin_deg);
|
||||
const float trans_angle = get_tailsitter_transition_angle_vtol();
|
||||
if (labs(plane.ahrs.pitch_sensor) > trans_angle*100) {
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "Transition VTOL done");
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue