tailsitter: go into mc mode it transition switch not assigned

This commit is contained in:
Roman
2016-01-04 15:30:42 +01:00
committed by Lorenz Meier
parent 2be8d1a58a
commit a79c6be39b

View File

@@ -129,7 +129,7 @@ void Tailsitter::update_vtol_state()
* For the backtransition the pitch is controlled in MC mode again and switches to full MC control reaching the sufficient pitch angle.
*/
if (_manual_control_sp->aux1 < 0.0f) {
if (!_attc->is_fixed_wing_requested()) {
switch (_vtol_schedule.flight_mode) { // user switchig to MC mode