added which transition the vtol is in to vehicle status

This commit is contained in:
Andreas Antener
2016-09-13 14:32:00 +02:00
parent 46105f735e
commit 8c9f4e8ab8
9 changed files with 34 additions and 25 deletions
+4 -1
View File
@@ -223,8 +223,11 @@ void Standard::update_vtol_state()
break;
case TRANSITION_TO_FW:
_vtol_mode = mode::TRANSITION_TO_MC;
break;
case TRANSITION_TO_MC:
_vtol_mode = TRANSITION;
_vtol_mode = mode::TRANSITION_TO_FW;
break;
}
}