Merge pull request #3439 from PX4/vtol_sitl

VTOL fixes for SITL
This commit is contained in:
Lorenz Meier
2016-01-05 21:14:34 +01:00
3 changed files with 3 additions and 3 deletions
+1 -1
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