File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -562,9 +562,6 @@ bool Tailsitter::transition_vtol_complete(void) const
562
562
const float trans_angle = get_transition_angle_vtol ();
563
563
if (labs (plane.ahrs .pitch_sensor ) > trans_angle*100 ) {
564
564
gcs ().send_text (MAV_SEVERITY_INFO, " Transition VTOL done" );
565
- // clear inverted flight flag to make behaviour consistent
566
- // with other quadplane types
567
- plane.inverted_flight = false ;
568
565
return true ;
569
566
}
570
567
int32_t roll_cd = labs (plane.ahrs .roll_sensor );
@@ -905,6 +902,10 @@ void Tailsitter_Transition::VTOL_update()
905
902
vtol_limit_start_ms = now;
906
903
vtol_limit_initial_pitch = quadplane.ahrs_view ->pitch_sensor ;
907
904
}
905
+
906
+ // clear inverted flight flag to make behaviour consistent
907
+ // with other quadplane types
908
+ plane.inverted_flight = false ;
908
909
} else {
909
910
// Keep assistance reset while not checking
910
911
quadplane.assist .reset ();
You can’t perform that action at this time.
0 commit comments