File tree 5 files changed +13
-0
lines changed
5 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ void ModeQAutotune::run()
35
35
// Stabilize with fixed wing surfaces
36
36
plane.stabilize_roll ();
37
37
plane.stabilize_pitch ();
38
+
39
+ // Center rudder
40
+ output_rudder_and_steering (0.0 );
38
41
}
39
42
40
43
void ModeQAutotune::_exit ()
Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ void ModeQHover::run()
44
44
// Stabilize with fixed wing surfaces
45
45
plane.stabilize_roll ();
46
46
plane.stabilize_pitch ();
47
+
48
+ // Center rudder
49
+ output_rudder_and_steering (0.0 );
47
50
}
48
51
49
52
#endif
Original file line number Diff line number Diff line change @@ -162,6 +162,9 @@ void ModeQLoiter::run()
162
162
// Stabilize with fixed wing surfaces
163
163
plane.stabilize_roll ();
164
164
plane.stabilize_pitch ();
165
+
166
+ // Center rudder
167
+ output_rudder_and_steering (0.0 );
165
168
}
166
169
167
170
#endif
Original file line number Diff line number Diff line change @@ -179,6 +179,7 @@ void ModeQRTL::run()
179
179
// Stabilize with fixed wing surfaces
180
180
plane.stabilize_roll ();
181
181
plane.stabilize_pitch ();
182
+ plane.stabilize_yaw ();
182
183
}
183
184
184
185
/*
Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ void ModeQStabilize::run()
64
64
// Stabilize with fixed wing surfaces
65
65
plane.stabilize_roll ();
66
66
plane.stabilize_pitch ();
67
+
68
+ // Center rudder
69
+ output_rudder_and_steering (0.0 );
67
70
}
68
71
69
72
// set the desired roll and pitch for a tailsitter
You can’t perform that action at this time.
0 commit comments