APM-MavCmdInfoCommon.json 3.05 KB
Newer Older
1
{
2 3 4
    "comment":      "ArduPilot, Any Vehicle",
    "version":      1,
    "fileType":  "MavCmdInfo",
5 6

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