MavCmdInfoCommon.json 3.85 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
        {
            "id":                   84,
51
            "comment":              "MAV_CMD_NAV_VTOL_TAKEOFF",
Don Gagne's avatar
Don Gagne committed
52 53 54 55 56 57
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
            "category":             "VTOL"
        },
        {
            "id":                   85,
58
            "comment":              "MAV_CMD_NAV_VTOL_LAND",
Don Gagne's avatar
Don Gagne committed
59 60 61
            "description":          "Land using VTOL mode.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
            "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": {
78
                "label":            "Setting",
79 80 81 82 83 84
                "enumStrings":      "On,Off",
                "enumValues":       "1,0",
                "default":          1
            }
        },
        {
DonLakeFlyer's avatar
DonLakeFlyer committed
85 86 87
            "id":           201,
            "comment":      "MAV_CMD_DO_SET_ROI",
            "paramRemove":  "1,2,3"
DonLakeFlyer's avatar
DonLakeFlyer committed
88
        },
89 90 91 92 93
        {
            "id":           205,
            "comment":      "MAV_CMD_DO_MOUNT_CONTROL",
            "paramRemove":  "7",
            "param1": {
94
                "label":            "Pitch",
95 96 97 98 99
                "default":          0,
                "units":            "deg",
                "decimalPlaces":    2
            },
            "param2": {
100
                "label":            "Roll",
101 102 103 104 105
                "default":          0,
                "units":            "deg",
                "decimalPlaces":    2
            },
            "param3": {
106
                "label":            "Yaw",
107 108
                "default":          0,
                "units":            "deg",
109 110
                "decimalPlaces":    2
            }
111 112 113 114 115
        },
        {
            "id":                   207,
            "comment":              "MAV_CMD_DO_FENCE_ENABLE",
            "param1": {
116
                "label":            "Enable",
117 118 119 120
                "enumStrings":      "Enable,Disable",
                "enumValues":       "1,0",
                "default":          1
            }
121
        }
122 123
    ]
}