Implemented VTOL_TAKEOFF and VTOL_LAND commands

This commit is contained in:
sander
2016-04-02 21:29:25 +01:00
committed by Lorenz Meier
parent e832f7dbf5
commit a713fd4197
6 changed files with 42 additions and 1 deletions
+1
View File
@@ -865,6 +865,7 @@ MavlinkMissionManager::format_mavlink_mission_item(const struct mission_item_s *
// specific item handling
switch (mission_item->nav_cmd) {
case NAV_CMD_TAKEOFF:
case NAV_CMD_VTOL_TAKEOFF:
mavlink_mission_item->param1 = mission_item->pitch_min;
break;