Commit 5bcb37d2 authored by DonLakeFlyer's avatar DonLakeFlyer

parent 74fb1dae
...@@ -9,36 +9,6 @@ ...@@ -9,36 +9,6 @@
"comment": "MAV_CMD_NAV_WAYPOINT", "comment": "MAV_CMD_NAV_WAYPOINT",
"paramRemove": "2" "paramRemove": "2"
}, },
{
"id": 17,
"comment": "MAV_CMD_NAV_LOITER_UNLIM",
"param4": {
"label": "Heading",
"units": "radians",
"default": 0,
"decimalPlaces": 2
}
},
{
"id": 18,
"comment": "MAV_CMD_NAV_LOITER_TURNS",
"param4": {
"label": "Heading",
"units": "radians",
"default": 0,
"decimalPlaces": 2
}
},
{
"id": 19,
"comment": "MAV_CMD_NAV_LOITER_TIME",
"param4": {
"label": "Heading",
"units": "radians",
"default": 0,
"decimalPlaces": 2
}
},
{ {
"id": 22, "id": 22,
"comment": "MAV_CMD_NAV_TAKEOFF", "comment": "MAV_CMD_NAV_TAKEOFF",
......
...@@ -9,28 +9,6 @@ ...@@ -9,28 +9,6 @@
"comment": "MAV_CMD_NAV_WAYPOINT", "comment": "MAV_CMD_NAV_WAYPOINT",
"paramRemove": "1,3,4" "paramRemove": "1,3,4"
}, },
{
"id": 18,
"comment": "MAV_CMD_NAV_LOITER_TURNS",
"param4": {
"label": "Exit loiter from",
"enumStrings": "Center,Tangent",
"enumValues": "0,1",
"default": 1,
"decimalPlaces": 0
}
},
{
"id": 19,
"comment": "MAV_CMD_NAV_LOITER_TIME",
"param4": {
"label": "Exit loiter from",
"enumStrings": "Center,Tangent",
"enumValues": "0,1",
"default": 1,
"decimalPlaces": 0
}
},
{ {
"id": 21, "id": 21,
"comment": "MAV_CMD_NAV_LAND", "comment": "MAV_CMD_NAV_LAND",
......
...@@ -7,22 +7,7 @@ ...@@ -7,22 +7,7 @@
{ {
"id": 16, "id": 16,
"comment": "MAV_CMD_NAV_WAYPOINT", "comment": "MAV_CMD_NAV_WAYPOINT",
"paramRemove": "2,3,4" "paramRemove": "3,4"
},
{
"id": 17,
"comment": "MAV_CMD_NAV_LOITER_UNLIM",
"paramRemove": "3"
},
{
"id": 18,
"comment": "MAV_CMD_NAV_LOITER_TURNS",
"paramRemove": "4"
},
{
"id": 19,
"comment": "MAV_CMD_NAV_LOITER_TIME",
"paramRemove": "4"
}, },
{ {
"id": 21, "id": 21,
...@@ -33,11 +18,6 @@ ...@@ -33,11 +18,6 @@
"id": 22, "id": 22,
"comment": "MAV_CMD_NAV_TAKEOFF", "comment": "MAV_CMD_NAV_TAKEOFF",
"paramRemove": "1,2,3,4" "paramRemove": "1,2,3,4"
},
{
"id": 31,
"comment": "MAV_CMD_NAV_LOITER_TO_ALT",
"paramRemove": "4"
} }
] ]
} }
{ {
"comment": "PX4 Pro, Any Vehicle", "comment": "PX4 Pro, Any Vehicle",
"version": 1, "version": 1,
"fileType": "MavCmdInfo", "fileType": "MavCmdInfo",
"mavCmdInfo": [ "mavCmdInfo": [
{ {
...@@ -14,11 +14,6 @@ ...@@ -14,11 +14,6 @@
"comment": "MAV_CMD_NAV_LAND", "comment": "MAV_CMD_NAV_LAND",
"paramRemove": "1" "paramRemove": "1"
}, },
{
"id": 201,
"comment": "MAV_CMD_DO_SET_ROI",
"paramRemove": "1,2,3"
},
{ {
"id": 2500, "id": 2500,
"comment": "MAV_CMD_VIDEO_START_CAPTURE", "comment": "MAV_CMD_VIDEO_START_CAPTURE",
......
{ {
"comment": "PX4 Pro, Fixed Wing", "comment": "PX4 Pro, Fixed Wing",
"version": 1, "version": 1,
"fileType": "MavCmdInfo", "fileType": "MavCmdInfo",
"mavCmdInfo": [ "mavCmdInfo": [
] ]
......
...@@ -4,29 +4,5 @@ ...@@ -4,29 +4,5 @@
"fileType": "MavCmdInfo", "fileType": "MavCmdInfo",
"mavCmdInfo": [ "mavCmdInfo": [
{
"id": 17,
"comment": "MAV_CMD_NAV_LOITER_UNLIM",
"description": "Travel to a position and Loiter indefinitely.",
"paramRemove": "3"
},
{
"id": 18,
"comment": "MAV_CMD_NAV_LOITER_TURNS",
"description": "Travel to a position and Loiter for a number of turns.",
"paramRemove": "3"
},
{
"id": 19,
"comment": "MAV_CMD_NAV_LOITER_TIME",
"description": "Travel to a position and Loiter for an amount of time.",
"paramRemove": "3"
},
{
"id": 22,
"comment": "MAV_CMD_NAV_TAKEOFF",
"paramRemove": "1",
"description": "Hover straight up to specified altitude. Then travel to specified position."
}
] ]
} }
...@@ -41,11 +41,11 @@ ...@@ -41,11 +41,11 @@
"param2": { "param2": {
"label": "Acceptance", "label": "Acceptance",
"units": "m", "units": "m",
"default": 3, "default": 0,
"decimalPlaces": 2 "decimalPlaces": 2
}, },
"param3": { "param3": {
"label": "PassThru", "label": "Pass Radius",
"units": "m", "units": "m",
"default": 0, "default": 0,
"decimalPlaces": 2 "decimalPlaces": 2
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
"id": 17, "id": 17,
"rawName": "MAV_CMD_NAV_LOITER_UNLIM", "rawName": "MAV_CMD_NAV_LOITER_UNLIM",
"friendlyName": "Loiter", "friendlyName": "Loiter",
"description": "Travel to a position and Loiter around the specified radius indefinitely.", "description": "Travel to a position and Loiter around the specified position indefinitely.",
"specifiesCoordinate": true, "specifiesCoordinate": true,
"friendlyEdit": true, "friendlyEdit": true,
"category": "Loiter", "category": "Loiter",
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
"id": 18, "id": 18,
"rawName": "MAV_CMD_NAV_LOITER_TURNS", "rawName": "MAV_CMD_NAV_LOITER_TURNS",
"friendlyName": "Loiter (turns)", "friendlyName": "Loiter (turns)",
"description": "Travel to a position and Loiter around the specified radius for a number of turns.", "description": "Travel to a position and Loiter around the specified position for a number of turns.",
"specifiesCoordinate": true, "specifiesCoordinate": true,
"friendlyEdit": true, "friendlyEdit": true,
"category": "Loiter", "category": "Loiter",
...@@ -93,6 +93,13 @@ ...@@ -93,6 +93,13 @@
"default": 1, "default": 1,
"decimalPlaces": 0 "decimalPlaces": 0
}, },
"param2": {
"label": "Leave Loiter",
"enumStrings": "Direction of next waypoint,Any direction",
"enumValues": "1,0",
"default": 1,
"decimalPlaces": 0
},
"param3": { "param3": {
"label": "Radius", "label": "Radius",
"units": "m", "units": "m",
...@@ -100,27 +107,34 @@ ...@@ -100,27 +107,34 @@
"decimalPlaces": 2 "decimalPlaces": 2
}, },
"param4": { "param4": {
"label": "Yaw", "label": "Exit loiter from",
"units": "deg", "enumStrings": "Center,Tangent",
"nanUnchanged": true, "enumValues": "0,1",
"default": null, "default": 1,
"decimalPlaces": 2 "decimalPlaces": 0
} }
}, },
{ {
"id": 19, "id": 19,
"rawName": "MAV_CMD_NAV_LOITER_TIME", "rawName": "MAV_CMD_NAV_LOITER_TIME",
"friendlyName": "Loiter (time)", "friendlyName": "Loiter (time)",
"description": "Travel to a position and Loiter around the specified radius for an amount of time.", "description": "Travel to a position and Loiter around the specified position for an amount of time.",
"specifiesCoordinate": true, "specifiesCoordinate": true,
"friendlyEdit": true, "friendlyEdit": true,
"category": "Loiter", "category": "Loiter",
"param1": { "param1": {
"label": "Hold", "label": "Loiter Time",
"units": "secs", "units": "secs",
"default": 30, "default": 30,
"decimalPlaces": 0 "decimalPlaces": 0
}, },
"param2": {
"label": "Leave Loiter",
"enumStrings": "Direction of next waypoint,Current direction",
"enumValues": "1,0",
"default": 1,
"decimalPlaces": 0
},
"param3": { "param3": {
"label": "Radius", "label": "Radius",
"units": "m", "units": "m",
...@@ -128,11 +142,11 @@ ...@@ -128,11 +142,11 @@
"decimalPlaces": 2 "decimalPlaces": 2
}, },
"param4": { "param4": {
"label": "Yaw", "label": "Exit loiter from",
"units": "deg", "enumStrings": "Center,Tangent",
"nanUnchanged": true, "enumValues": "0,1",
"default": null, "default": 1,
"decimalPlaces": 2 "decimalPlaces": 0
} }
}, },
{ {
...@@ -158,6 +172,14 @@ ...@@ -158,6 +172,14 @@
"default": 0, "default": 0,
"decimalPlaces": 2 "decimalPlaces": 2
}, },
"param2": {
"label": "Precision Land",
"units": "m",
"enumStrings": "Disabled,Opportunistic,Required",
"enumValues": "0,1,2",
"default": 0,
"decimalPlaces": 2
},
"param4": { "param4": {
"label": "Yaw", "label": "Yaw",
"units": "deg", "units": "deg",
...@@ -218,10 +240,10 @@ ...@@ -218,10 +240,10 @@
"friendlyEdit": true, "friendlyEdit": true,
"category": "Loiter", "category": "Loiter",
"param1": { "param1": {
"label": "Heading wait", "label": "Leave Loiter",
"enumStrings": "False,True", "enumStrings": "Direction of next waypoint,Any direction",
"enumValues": "0,1", "enumValues": "1,0",
"default": 0, "default": 1,
"decimalPlaces": 0 "decimalPlaces": 0
}, },
"param2": { "param2": {
...@@ -294,6 +316,14 @@ ...@@ -294,6 +316,14 @@
"isTakeoffCommand": true, "isTakeoffCommand": true,
"friendlyEdit": true, "friendlyEdit": true,
"category": "Basic", "category": "Basic",
"param2": {
"label": "Transition Heading",
"units": "m",
"enumStrings": "Default,Next waypoint,Takeoff,Specified,Any",
"enumValues": "0,1,2,3,4",
"default": 0,
"decimalPlaces": 0
},
"param4": { "param4": {
"label": "Yaw", "label": "Yaw",
"units": "deg", "units": "deg",
...@@ -311,6 +341,13 @@ ...@@ -311,6 +341,13 @@
"isLandCommand": true, "isLandCommand": true,
"friendlyEdit": true, "friendlyEdit": true,
"category": "Basic", "category": "Basic",
"param3": {
"label": "Approach Alt",
"units": "m",
"nanUnchanged": true,
"default": null,
"decimalPlaces": 2
},
"param4": { "param4": {
"label": "Yaw", "label": "Yaw",
"units": "deg", "units": "deg",
...@@ -326,7 +363,7 @@ ...@@ -326,7 +363,7 @@
"description": "Enable/Disabled guided mode.", "description": "Enable/Disabled guided mode.",
"param1": { "param1": {
"label": "Enable", "label": "Enable",
"enumStrings": "Disable,Enable", "enumStrings": "On,Off",
"enumValues": "0,1", "enumValues": "0,1",
"default": 1, "default": 1,
"decimalPlaces": 0 "decimalPlaces": 0
...@@ -367,14 +404,14 @@ ...@@ -367,14 +404,14 @@
"friendlyEdit": true, "friendlyEdit": true,
"category": "Basic", "category": "Basic",
"param1": { "param1": {
"label": "Hold", "label": "Delay",
"units": "secs", "units": "secs",
"default": 30, "default": 30,
"decimalPlaces": 0 "decimalPlaces": 0
} }
}, },
{ {
"id": 113, "id": 113,
"rawName": "MAV_CMD_CONDITION_CHANGE_ALT", "rawName": "MAV_CMD_CONDITION_CHANGE_ALT",
"description": "Delay the mission until the specified altitide is reached.", "description": "Delay the mission until the specified altitide is reached.",
"friendlyName": "Wait for altitude", "friendlyName": "Wait for altitude",
...@@ -405,10 +442,10 @@ ...@@ -405,10 +442,10 @@
"id": 115, "id": 115,
"rawName": "MAV_CMD_CONDITION_YAW", "rawName": "MAV_CMD_CONDITION_YAW",
"friendlyName": "Wait for Yaw", "friendlyName": "Wait for Yaw",
"description": "Delay the mission until the specified yaw is reached.", "description": "Delay the mission until the specified heading is reached.",
"category": "Conditionals", "category": "Conditionals",
"param1": { "param1": {
"label": "Yaw", "label": "Heading",
"units": "deg", "units": "deg",
"default": 0, "default": 0,
"decimalPlaces": 1 "decimalPlaces": 1
...@@ -1071,7 +1108,7 @@ ...@@ -1071,7 +1108,7 @@
}, },
{ "id": 2800, "rawName": "MAV_CMD_PANORAMA_CREATE", "friendlyName": "Create panorama" }, { "id": 2800, "rawName": "MAV_CMD_PANORAMA_CREATE", "friendlyName": "Create panorama" },
{ {
"id": 3000, "id": 3000,
"rawName": "MAV_CMD_DO_VTOL_TRANSITION", "rawName": "MAV_CMD_DO_VTOL_TRANSITION",
"friendlyName": "VTOL Transition", "friendlyName": "VTOL Transition",
"description": "Perform flight mode transition.", "description": "Perform flight mode transition.",
...@@ -1079,7 +1116,7 @@ ...@@ -1079,7 +1116,7 @@
"param1": { "param1": {
"label": "Mode", "label": "Mode",
"default": 3, "default": 3,
"enumStrings": "Hover Mode,Plane Mode", "enumStrings": "Multi Rotor,Fixed Wing",
"enumValues": "3,4" "enumValues": "3,4"
} }
}, },
......
...@@ -14,28 +14,6 @@ ...@@ -14,28 +14,6 @@
"comment": "MAV_CMD_NAV_LOITER_UNLIM", "comment": "MAV_CMD_NAV_LOITER_UNLIM",
"paramRemove": "4" "paramRemove": "4"
}, },
{
"id": 18,
"comment": "MAV_CMD_NAV_LOITER_TURNS",
"param4": {
"label": "Exit loiter from",
"enumStrings": "Center,Tangent",
"enumValues": "0,1",
"default": 1,
"decimalPlaces": 0
}
},
{
"id": 19,
"comment": "MAV_CMD_NAV_LOITER_TIME",
"param4": {
"label": "Exit loiter from",
"enumStrings": "Center,Tangent",
"enumValues": "0,1",
"default": 1,
"decimalPlaces": 0
}
},
{ {
"id": 21, "id": 21,
"comment": "MAV_CMD_NAV_LAND", "comment": "MAV_CMD_NAV_LAND",
......
{ {
"comment": "Any Firmware, Multi Rotor", "comment": "Any Firmware, Multi Rotor",
"version": 1, "version": 1,
"fileType": "MavCmdInfo", "fileType": "MavCmdInfo",
"mavCmdInfo": [ "mavCmdInfo": [
{
"id": 17,
"comment": "MAV_CMD_NAV_LOITER_UNLIM",
"paramRemove": "3"
},
{
"id": 19,
"comment": "MAV_CMD_NAV_LOITER_TIME",
"paramRemove": "2,3,4"
},
{
"id": 22,
"comment": "MAV_CMD_NAV_TAKEOFF",
"paramRemove": "1"
},
{
"id": 31,
"comment": "MAV_CMD_NAV_LOITER_TO_ALT",
"paramRemove": "1,2,4"
}
] ]
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment