MavCmdInfoCommon.json 3.99 KB
Newer Older
1
{
2 3
    "comment":  "ArduPilot, Any Vehicle",

4 5 6
    "version": 1,

    "mavCmdInfo": [
Don Gagne's avatar
Don Gagne committed
7 8 9 10 11
        {
            "id":           16,
            "comment":      "MAV_CMD_NAV_WAYPOINT",
            "paramRemove":  "2"
        },
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
        {
            "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
            }
        },
DonLakeFlyer's avatar
DonLakeFlyer committed
42 43 44
        {
            "id":                       22,
            "comment":                  "MAV_CMD_NAV_TAKEOFF",
Don Gagne's avatar
Don Gagne committed
45
            "description":              "Take off from the ground and ascend to specified altitude.",
DonLakeFlyer's avatar
DonLakeFlyer committed
46 47 48
            "specifiesCoordinate":      false,
            "specifiesAltitudeOnly":    true
        },
Don Gagne's avatar
Don Gagne committed
49
        {
50 51 52 53 54 55 56
            "id":                       84,
            "comment":                  "MAV_CMD_NAV_VTOL_TAKEOFF",
            "description":              "Takeoff to specified altitude.",
            "specifiesCoordinate":      false,
            "specifiesAltitudeOnly":    true,
            "friendlyEdit":             true,
            "category":                 "VTOL"
Don Gagne's avatar
Don Gagne committed
57 58 59
        },
        {
            "id":                   85,
60
            "comment":              "MAV_CMD_NAV_VTOL_LAND",
Don Gagne's avatar
Don Gagne committed
61 62 63
            "description":          "Land using VTOL mode.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
            "category":             "VTOL"
        },
        {
            "id":           176,
            "comment":      "MAV_CMD_DO_SET_MODE",
            "paramRemove":  "2,3"
        },
        {
            "id":           178,
            "comment":      "MAV_CMD_DO_CHANGE_SPEED",
            "paramRemove":  "4"
        },
        {
            "id":           181,
            "comment":      "MAV_CMD_DO_SET_RELAY",
            "param2": {
80
                "label":            "Setting",
81 82 83 84 85 86
                "enumStrings":      "On,Off",
                "enumValues":       "1,0",
                "default":          1
            }
        },
        {
DonLakeFlyer's avatar
DonLakeFlyer committed
87 88 89
            "id":           201,
            "comment":      "MAV_CMD_DO_SET_ROI",
            "paramRemove":  "1,2,3"
DonLakeFlyer's avatar
DonLakeFlyer committed
90
        },
91 92 93 94 95
        {
            "id":           205,
            "comment":      "MAV_CMD_DO_MOUNT_CONTROL",
            "paramRemove":  "7",
            "param1": {
96
                "label":            "Pitch",
97 98 99 100 101
                "default":          0,
                "units":            "deg",
                "decimalPlaces":    2
            },
            "param2": {
102
                "label":            "Roll",
103 104 105 106 107
                "default":          0,
                "units":            "deg",
                "decimalPlaces":    2
            },
            "param3": {
108
                "label":            "Yaw",
109 110
                "default":          0,
                "units":            "deg",
111 112
                "decimalPlaces":    2
            }
113 114 115 116 117
        },
        {
            "id":                   207,
            "comment":              "MAV_CMD_DO_FENCE_ENABLE",
            "param1": {
118
                "label":            "Enable",
119 120 121 122
                "enumStrings":      "Enable,Disable",
                "enumValues":       "1,0",
                "default":          1
            }
123
        }
124 125
    ]
}