From 997ddde66a916ca8d29b52460141564f03e1b07a Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 23 Feb 2016 11:31:05 -0800 Subject: [PATCH] _TAKEOFF: pitch in degress, add altitude --- src/FirmwarePlugin/APM/MavCmdInfoCommon.json | 10 ++++++++-- src/FirmwarePlugin/APM/MavCmdInfoMultiRotor.json | 8 +++++++- src/MissionManager/MavCmdInfoCommon.json | 4 ++-- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/FirmwarePlugin/APM/MavCmdInfoCommon.json b/src/FirmwarePlugin/APM/MavCmdInfoCommon.json index 33ba78d79..fecc10ffb 100644 --- a/src/FirmwarePlugin/APM/MavCmdInfoCommon.json +++ b/src/FirmwarePlugin/APM/MavCmdInfoCommon.json @@ -12,8 +12,14 @@ "category": "Basic", "param1": { "label": "Pitch:", - "units": "radians", - "default": 0.26179939, + "units": "degrees", + "default": 15, + "decimalPlaces": 2 + }, + "param7": { + "label": "Altitude:", + "units": "meters", + "default": 25.0, "decimalPlaces": 2 } }, diff --git a/src/FirmwarePlugin/APM/MavCmdInfoMultiRotor.json b/src/FirmwarePlugin/APM/MavCmdInfoMultiRotor.json index 850e51d26..e779f7e3e 100644 --- a/src/FirmwarePlugin/APM/MavCmdInfoMultiRotor.json +++ b/src/FirmwarePlugin/APM/MavCmdInfoMultiRotor.json @@ -9,7 +9,13 @@ "description": "Take off from the ground.", "specifiesCoordinate": false, "friendlyEdit": true, - "category": "Basic" + "category": "Basic", + "param7": { + "label": "Altitude:", + "units": "meters", + "default": 25.0, + "decimalPlaces": 2 + } }, { "id": 17, diff --git a/src/MissionManager/MavCmdInfoCommon.json b/src/MissionManager/MavCmdInfoCommon.json index 1fe6f851f..717a3f3ce 100644 --- a/src/MissionManager/MavCmdInfoCommon.json +++ b/src/MissionManager/MavCmdInfoCommon.json @@ -138,8 +138,8 @@ "category": "Basic", "param1": { "label": "Pitch:", - "units": "radians", - "default": 0.26179939, + "units": "degrees", + "default": 15, "decimalPlaces": 2 }, "param4": { -- 2.22.0