From eb13f463deb01c7c409e85d05ddaac0209efaae1 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Wed, 11 Dec 2019 10:21:18 +0300 Subject: [PATCH] Fix ArduPilot VTOL takeoff --- src/FirmwarePlugin/APM/MavCmdInfoCommon.json | 12 +++++++----- src/MissionManager/MavCmdInfoCommon.json | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/FirmwarePlugin/APM/MavCmdInfoCommon.json b/src/FirmwarePlugin/APM/MavCmdInfoCommon.json index f5db22fca..1226035af 100644 --- a/src/FirmwarePlugin/APM/MavCmdInfoCommon.json +++ b/src/FirmwarePlugin/APM/MavCmdInfoCommon.json @@ -47,11 +47,13 @@ "specifiesAltitudeOnly": true }, { - "id": 84, - "comment": "MAV_CMD_NAV_VTOL_TAKEOFF", - "specifiesCoordinate": true, - "friendlyEdit": true, - "category": "VTOL" + "id": 84, + "comment": "MAV_CMD_NAV_VTOL_TAKEOFF", + "description": "Takeoff to specified altitude.", + "specifiesCoordinate": false, + "specifiesAltitudeOnly": true, + "friendlyEdit": true, + "category": "VTOL" }, { "id": 85, diff --git a/src/MissionManager/MavCmdInfoCommon.json b/src/MissionManager/MavCmdInfoCommon.json index e3d017852..48a9cb108 100644 --- a/src/MissionManager/MavCmdInfoCommon.json +++ b/src/MissionManager/MavCmdInfoCommon.json @@ -286,7 +286,7 @@ { "id": 84, "rawName": "MAV_CMD_NAV_VTOL_TAKEOFF", - "friendlyName": "VTOL takeoff and transition", + "friendlyName": "VTOL takeoff", "description": "Takeoff in VTOL mode, transition to forward flight and fly to the specified location.", "specifiesCoordinate": true, "friendlyEdit": true, -- 2.22.0