apply vtol_force_vtol

remove debug output
This commit is contained in:
sander
2016-04-02 21:29:26 +01:00
committed by Lorenz Meier
parent b99e3e0ae2
commit 3f256a778d
3 changed files with 8 additions and 4 deletions
+1 -4
View File
@@ -110,15 +110,12 @@ MissionBlock::is_mission_item_reached()
case NAV_CMD_DO_VTOL_TRANSITION:
/*
* We wait half a second to give the transition command time to propagate.
* As soon as the timeout is over or when we're in transition mode let the mission continue.
* Then monitor the transition status for completion.
*/
if (hrt_absolute_time() - _action_start > 500000 &&
!_navigator->get_vstatus()->in_transition_mode) {
_action_start = 0;
printf("transition reached \n");
return true;
} else {
return false;
}