From 83a04b24c96482a03dd730d32ff3e17ed0f8cd22 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sun, 31 Jul 2016 14:44:56 -0700 Subject: [PATCH] Consistent naming "degrees" -> "deg" --- src/FirmwarePlugin/APM/MavCmdInfoCommon.json | 2 +- src/FirmwarePlugin/APM/MavCmdInfoFixedWing.json | 2 +- src/FirmwarePlugin/PX4/MavCmdInfoFixedWing.json | 2 +- src/MissionManager/MavCmdInfoCommon.json | 10 +++++----- src/Vehicle/GPSFact.json | 2 +- src/Vehicle/VehicleFact.json | 6 +++--- src/Vehicle/WindFact.json | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/FirmwarePlugin/APM/MavCmdInfoCommon.json b/src/FirmwarePlugin/APM/MavCmdInfoCommon.json index d67684e..bcbb1bf 100644 --- a/src/FirmwarePlugin/APM/MavCmdInfoCommon.json +++ b/src/FirmwarePlugin/APM/MavCmdInfoCommon.json @@ -12,7 +12,7 @@ "category": "Basic", "param1": { "label": "Pitch:", - "units": "degrees", + "units": "deg", "default": 15, "decimalPlaces": 2 }, diff --git a/src/FirmwarePlugin/APM/MavCmdInfoFixedWing.json b/src/FirmwarePlugin/APM/MavCmdInfoFixedWing.json index 0494750..e6bc1ea 100644 --- a/src/FirmwarePlugin/APM/MavCmdInfoFixedWing.json +++ b/src/FirmwarePlugin/APM/MavCmdInfoFixedWing.json @@ -147,7 +147,7 @@ "category": "Basic", "param1": { "label": "Pitch:", - "units": "degrees", + "units": "deg", "default": 10, "decimalPlaces": 0 }, diff --git a/src/FirmwarePlugin/PX4/MavCmdInfoFixedWing.json b/src/FirmwarePlugin/PX4/MavCmdInfoFixedWing.json index acaa580..97ed87a 100644 --- a/src/FirmwarePlugin/PX4/MavCmdInfoFixedWing.json +++ b/src/FirmwarePlugin/PX4/MavCmdInfoFixedWing.json @@ -135,7 +135,7 @@ "category": "Basic", "param1": { "label": "Pitch:", - "units": "degrees", + "units": "deg", "default": 10, "decimalPlaces": 0 }, diff --git a/src/MissionManager/MavCmdInfoCommon.json b/src/MissionManager/MavCmdInfoCommon.json index 9f26513..e4180eb 100644 --- a/src/MissionManager/MavCmdInfoCommon.json +++ b/src/MissionManager/MavCmdInfoCommon.json @@ -138,7 +138,7 @@ "category": "Basic", "param1": { "label": "Pitch:", - "units": "degrees", + "units": "deg", "default": 15, "decimalPlaces": 2 }, @@ -250,7 +250,7 @@ "param4": { "label": "Heading goal:", "default": 0, - "units": "degrees", + "units": "deg", "decimalPlaces": 2 } }, @@ -280,7 +280,7 @@ "category": "VTOL", "param4": { "label": "Heading:", - "units": "degrees", + "units": "deg", "default": 0.0, "decimalPlaces": 2 } @@ -295,7 +295,7 @@ "category": "VTOL", "param4": { "label": "Heading:", - "units": "degrees", + "units": "deg", "default": 0.0, "decimalPlaces": 2 }, @@ -371,7 +371,7 @@ "category": "Conditionals", "param1": { "label": "Heading:", - "units": "degrees", + "units": "deg", "default": 0, "decimalPlaces": 1 }, diff --git a/src/Vehicle/GPSFact.json b/src/Vehicle/GPSFact.json index 826ae1d..a8b2cb5 100644 --- a/src/Vehicle/GPSFact.json +++ b/src/Vehicle/GPSFact.json @@ -19,7 +19,7 @@ "shortDescription": "Course Over Ground", "type": "double", "decimalPlaces": 1, - "units": "degrees" + "units": "deg" }, { "name": "lock", diff --git a/src/Vehicle/VehicleFact.json b/src/Vehicle/VehicleFact.json index ffa3ff1..d905366 100644 --- a/src/Vehicle/VehicleFact.json +++ b/src/Vehicle/VehicleFact.json @@ -7,21 +7,21 @@ "shortDescription": "Roll", "type": "double", "decimalPlaces": 1, - "units": "degrees" + "units": "deg" }, { "name": "pitch", "shortDescription": "Pitch", "type": "double", "decimalPlaces": 1, - "units": "degrees" + "units": "deg" }, { "name": "heading", "shortDescription": "Heading", "type": "double", "decimalPlaces": 0, - "units": "degrees" + "units": "deg" }, { "name": "groundSpeed", diff --git a/src/Vehicle/WindFact.json b/src/Vehicle/WindFact.json index 881c5ee..d9cec3d 100644 --- a/src/Vehicle/WindFact.json +++ b/src/Vehicle/WindFact.json @@ -7,7 +7,7 @@ "shortDescription": "Wind Direction", "type": "double", "decimalPlaces": 1, - "units": "degrees" + "units": "deg" }, { "name": "speed",