MavCmdInfoCommon.json 33.4 KB
Newer Older
1 2 3 4 5 6 7
{
    "version": 1,

    "mavCmdInfo": [
        {
            "comment":              "MAV_CMD_NAV_LAST: Used for fake home position waypoint",
            "id":                   95,
8
            "rawName":              "HomeRaw",
9 10
            "friendlyName":         "Home Position",
            "description":          "Planned home position for mission.",
11
            "specifiesCoordinate":  true,
12 13 14 15 16 17 18 19 20 21 22 23
            "friendlyEdit":         true,
            "category":             "Basic",
            "param5": {
                "label":            "Latitude:",
                "default":          37.803784,
                "decimalPlaces":    7
            },
            "param6": {
                "label":            "Longitude:",
                "default":          -122.462276,
                "decimalPlaces":    7
            }
24 25 26 27 28 29 30 31
        },
        {
            "id":                   16,
            "rawName":              "MAV_CMD_NAV_WAYPOINT",
            "friendlyName":         "Waypoint",
            "description":          "Travel to a position in 3D space.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
Don Gagne's avatar
Don Gagne committed
32
            "category":             "Basic",
33 34 35
            "param1": {
                "label":            "Hold:",
                "units":            "seconds",
Don Gagne's avatar
Don Gagne committed
36
                "default":          0,
37 38 39 40 41 42 43 44 45 46
                "decimalPlaces":    0
            }
        },
        {
            "id":                   17,
            "rawName":              "MAV_CMD_NAV_LOITER_UNLIM",
            "friendlyName":         "Loiter",
            "description":          "Travel to a position and Loiter around the specified radius indefinitely.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
Don Gagne's avatar
Don Gagne committed
47
            "category":             "Loiter",
48 49 50
            "param3": {
                "label":            "Radius:",
                "units":            "meters",
Don Gagne's avatar
Don Gagne committed
51
                "default":          10.0,
52 53 54 55 56 57 58 59 60 61
                "decimalPlaces":    2
            }
        },
        {
            "id":                   18,
            "rawName":              "MAV_CMD_NAV_LOITER_TURNS",
            "friendlyName":         "Loiter (turns)",
            "description":          "Travel to a position and Loiter around the specified radius for a number of turns.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
Don Gagne's avatar
Don Gagne committed
62
            "category":             "Loiter",
63 64
            "param1": {
                "label":            "Turns:",
Don Gagne's avatar
Don Gagne committed
65
                "default":          1,
66 67 68 69 70
                "decimalPlaces":    0
            },
            "param3": {
                "label":            "Radius:",
                "units":            "meters",
Don Gagne's avatar
Don Gagne committed
71
                "default":          10.0,
72 73 74 75 76 77 78 79 80 81
                "decimalPlaces":    2
            }
        },
        {
            "id":                   19,
            "rawName":              "MAV_CMD_NAV_LOITER_TIME",
            "friendlyName":         "Loiter (time)",
            "description":          "Travel to a position and Loiter around the specified radius for an amount of time.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
Don Gagne's avatar
Don Gagne committed
82
            "category":             "Loiter",
83 84 85
            "param1": {
                "label":            "Hold:",
                "units":            "seconds",
Don Gagne's avatar
Don Gagne committed
86
                "default":          30,
87 88 89 90 91
                "decimalPlaces":    0
            },
            "param3": {
                "label":            "Radius:",
                "units":            "meters",
Don Gagne's avatar
Don Gagne committed
92
                "default":          10.0,
93 94 95 96 97 98 99 100
                "decimalPlaces":    2
            }
        },
        {
            "id":           20,
            "rawName":      "MAV_CMD_NAV_RETURN_TO_LAUNCH",
            "friendlyName": "Return Home",
            "description":  "Send the vehicle back to the home position.",
Don Gagne's avatar
Don Gagne committed
101 102
            "friendlyEdit": true,
            "category":     "Basic"
103 104 105 106 107 108 109 110
        },
        {
            "id":                   21,
            "rawName":              "MAV_CMD_NAV_LAND",
            "friendlyName":         "Land",
            "description":          "Land vehicle at the specified location.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
Don Gagne's avatar
Don Gagne committed
111
            "category":             "Basic",
112 113 114
            "param1": {
                "label":            "Abort Alt:",
                "units":            "meters",
Don Gagne's avatar
Don Gagne committed
115
                "default":          25.0,
116 117 118 119
                "decimalPlaces":    3
            },
            "param4": {
                "label":            "Heading:",
120
                "units":            "radians",
Don Gagne's avatar
Don Gagne committed
121
                "default":          0.0,
122
                "decimalPlaces":    2
123 124 125 126 127 128
            },
            "param7": {
                "label":            "Altitude:",
                "units":            "meters",
                "default":          0.0,
                "decimalPlaces":    2
129 130 131 132 133 134 135 136 137
            }
        },
        {
            "id":                   22,
            "rawName":              "MAV_CMD_NAV_TAKEOFF",
            "friendlyName":         "Takeoff",
            "description":          "Take off from the ground and travel towards the specified position.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
Don Gagne's avatar
Don Gagne committed
138
            "category":             "Basic",
139 140
            "param1": {
                "label":            "Pitch:",
141 142
                "units":            "degrees",
                "default":          15,
143 144 145 146
                "decimalPlaces":    2
            },
            "param4": {
                "label":            "Heading:",
147
                "units":            "radians",
Don Gagne's avatar
Don Gagne committed
148
                "default":          0.0,
149 150 151
                "decimalPlaces":    2
            }
        },
152 153 154
        { "id": 23, "rawName": "MAV_CMD_NAV_LAND_LOCAL", "friendlyName": "Land local" },
        { "id": 24, "rawName": "MAV_CMD_NAV_TAKEOFF_LOCAL", "friendlyName": "Takeoff local" },
        { "id": 25, "rawName": "MAV_CMD_NAV_FOLLOW", "friendlyName": "Nav follow" },
Don Gagne's avatar
Don Gagne committed
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
        {
            "id":                    30,
            "rawName":              "MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT",
            "friendlyName":         "Change Altitude",
            "description":          "Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command.",
            "specifiesCoordinate":  false,
            "friendlyEdit":         true,
            "category":             "Flight control",
            "param1": {
                "label":            "Mode:",
                "enumStrings":      "Climb,Neutral,Descend",
                "enumValues":       "1,0,2",
                "default":          1,
                "decimalPlaces":    0
            },
            "param7": {
                "label":            "Altitude:",
                "units":            "meters",
                "default":          55,
                "decimalPlaces":    2
            }
        },
        {
            "id":                   31,
            "rawName":              "MAV_CMD_NAV_LOITER_TO_ALT",
            "friendlyName":         "Loiter (altitude)",
            "description":          "Loiter at specified position until altitude reached.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
            "category":             "Loiter",
            "param1": {
                "label":            "Heading wait:",
                "enumStrings":      "False,True",
                "enumValues":       "0,1",
                "default":          0,
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "Radius:",
                "units":            "meters",
                "default":          10.0,
                "decimalPlaces":    2
            }
        },
199 200
        { "id": 32, "rawName": "MAV_CMD_DO_FOLLOW", "friendlyName": "Follow Me" },
        { "id": 33, "rawName": "MAV_CMD_DO_FOLLOW_REPOSITION", "friendlyName": "Vehicle reposition" },
Don Gagne's avatar
Don Gagne committed
201 202 203
        {
            "id":                   80,
            "rawName":              "MAV_CMD_NAV_ROI",
204
            "friendlyName":         "Region of interest (nav)",
Don Gagne's avatar
Don Gagne committed
205 206
            "description":          "Sets the region of interest for cameras.",
            "specifiesCoordinate":  true,
207
            "standaloneCoordinate": true,
Don Gagne's avatar
Don Gagne committed
208
            "friendlyEdit":         true,
Don Gagne's avatar
Don Gagne committed
209
            "category":             "Camera",
Don Gagne's avatar
Don Gagne committed
210 211 212 213 214 215 216 217 218 219 220 221 222
            "param1": {
                "label":            "Mode:",
                "enumStrings":      "None,Next waypoint,Mission item,Location,ROI item",
                "enumValues":       "0,1,2,3,4",
                "default":          3,
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "Mission Index:",
                "default":          0,
                "decimalPlaces":    0
            },
            "param3": {
223
                "label":            "ROI Index:",
Don Gagne's avatar
Don Gagne committed
224 225 226 227
                "default":          0,
                "decimalPlaces":    0
            }
        },
Don Gagne's avatar
Don Gagne committed
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271
        {
            "id":                   81,
            "rawName":              "MAV_CMD_NAV_PATHPLANNING",
            "friendlyName":         "Path planning",
            "description":          "Control autonomous path planning.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
            "category":             "Advanced",
            "param1": {
                "label":            "Local planning:",
                "enumStrings":      "Disable,Enable,Enable+reset",
                "enumValues":       "0,1,2",
                "default":          1,
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "Full planning:",
                "enumStrings":      "Disable,Enable,Enable+reset,Enable+reset route only",
                "enumValues":       "0,1,2,3",
                "default":          1,
                "decimalPlaces":    0
            },
            "param4": {
                "label":            "Heading goal:",
                "default":          0,
                "units":            "degrees",
                "decimalPlaces":    2
            }
        },
        {
            "id":                   82,
            "rawName":              "MAV_CMD_NAV_SPLINE_WAYPOINT",
            "friendlyName":         "Spline waypoint",
            "description":          "Travel to a position in 3D space using spline path.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
            "category":             "Basic",
            "param1": {
                "label":            "Hold:",
                "units":            "seconds",
                "default":          0,
                "decimalPlaces":    0
            }
        },
272
        { "id": 83, "rawName": "MAV_CMD_NAV_ALTITUDE_WAIT", "friendlyName": "Altitude wait" },
Don Gagne's avatar
Don Gagne committed
273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300
        {
            "id":                   84,
            "rawName":              "MAV_CMD_NAV_VTOL_TAKEOFF",
            "friendlyName":         "VTOL takeoff",
            "description":          "Takeoff from ground using VTOL mode.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
            "category":             "VTOL",
            "param4": {
                "label":            "Heading:",
                "units":            "degrees",
                "default":          0.0,
                "decimalPlaces":    2
            }
        },
        {
            "id":                   85,
            "rawName":              "MAV_CMD_NAV_VTOL_LAND",
            "friendlyName":         "VTOL land",
            "description":          "Land using VTOL mode.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
            "category":             "VTOL",
            "param4": {
                "label":            "Heading:",
                "units":            "degrees",
                "default":          0.0,
                "decimalPlaces":    2
301 302 303 304 305 306
            },
            "param7": {
                "label":            "Altitude:",
                "units":            "meters",
                "default":          0.0,
                "decimalPlaces":    2
Don Gagne's avatar
Don Gagne committed
307 308
            }
        },
309 310 311 312 313 314 315 316 317 318 319
        {
            "id":           92,
            "rawName":      "MAV_CMD_NAV_GUIDED_ENABLE",
            "friendlyName": "Guided enable",
            "description":  "Enable/Disabled guided mode.",
            "param1": {
                "label":            "Enable:",
                "default":          1,
                "decimalPlaces":    0
            }
        },
320 321 322 323 324 325
        {
            "id":           112,
            "rawName":      "MAV_CMD_CONDITION_DELAY",
            "friendlyName": "Delay",
            "description":  "Delay the mission for the number of seconds.",
            "friendlyEdit": true,
Don Gagne's avatar
Don Gagne committed
326
            "category":     "Basic",
327 328 329
            "param1": {
                "label":            "Hold:",
                "units":            "seconds",
Don Gagne's avatar
Don Gagne committed
330
                "default":          30,
331 332 333
                "decimalPlaces":    0
            }
        },
334 335 336 337 338
        {
            "id":           113,
            "rawName":      "MAV_CMD_CONDITION_CHANGE_ALT",
            "description":  "Delay the mission until the specified altitide is reached.",
            "friendlyName": "Wait for altitude",
Don Gagne's avatar
Don Gagne committed
339
            "category":     "Conditionals",
340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
            "param1": {
                "label":            "Rate:",
                "units":            "m/s",
                "default":          5,
                "decimalPlaces":    2
            },
            "param7": {
                "label":            "Altitude:",
                "units":            "meters",
                "default":          55,
                "decimalPlaces":    2
            }
        },
        {
            "id":           114,
            "rawName":      "MAV_CMD_CONDITION_DISTANCE",
            "description":  "Delay the mission until within the specified distance of the next waypoint.",
            "friendlyName": "Wait for distance",
Don Gagne's avatar
Don Gagne committed
358
            "category":     "Conditionals",
359 360 361 362 363 364 365 366 367 368 369 370
            "param1": {
                "label":            "Distance:",
                "units":            "meters",
                "default":          0,
                "decimalPlaces":    2
            }
        },
        {
            "id":           115,
            "rawName":      "MAV_CMD_CONDITION_YAW",
            "friendlyName": "Wait for Heading",
            "description":  "Delay the mission until the specified heading is reached.",
Don Gagne's avatar
Don Gagne committed
371
            "category":     "Conditionals",
372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395
            "param1": {
                "label":            "Heading:",
                "units":            "degrees",
                "default":          0,
                "decimalPlaces":    1
            },
            "param2": {
                "label":            "Rate:",
                "units":            "degrees/s",
                "default":          5,
                "decimalPlaces":    1
            },
            "param3": {
                "label":            "Direction:",
                "default":          1,
                "decimalPlaces":    0
            },
            "param3": {
                "label":            "Offset:",
                "enumStrings":      "Relative,Absolute",
                "enumValues":       "1,0",
                "default":          5
            }
        },
396
        { "id": 159, "rawName": "MAV_CMD_CONDITION_LAST", "friendlyName": "MAV_CMD_CONDITION_LAST" },
397
        { "id": 176, "rawName": "MAV_CMD_DO_SET_MODE", "friendlyName": "Set mode" },
398 399 400 401 402 403
        {
            "id":           177,
            "rawName":      "MAV_CMD_DO_JUMP",
            "friendlyName": "Jump to item",
            "description":  "Mission will continue at the specified item.",
            "friendlyEdit": true,
Don Gagne's avatar
Don Gagne committed
404
            "category":     "Basic",
405
            "param1": {
Don Gagne's avatar
Don Gagne committed
406 407
                "label":            "Item #:",
                "default":          1,
408 409 410 411
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "Repeat:",
412
                "default":          10,
413 414 415
                "decimalPlaces":    0
            }
        },
416 417 418 419 420
        {
            "id":           178,
            "rawName":      "MAV_CMD_DO_CHANGE_SPEED",
            "friendlyName": "Change speed",
            "description":  "Change speed and/or throttle set points.",
Don Gagne's avatar
Don Gagne committed
421
            "category":     "Flight control",
422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438
            "param1": {
                "label":            "Type:",
                "enumStrings":      "Airspeed,Ground Speed",
                "enumValues":       "0,1",
                "default":          1
            },
            "param2": {
                "label":            "Speed:",
                "units":            "m/s",
                "default":          -1
            },
            "param3": {
                "label":            "Throttle:",
                "units":            "%",
                "default":          -1
            }
        },
Don Gagne's avatar
Don Gagne committed
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455
        {
            "id":                   179,
            "rawName":              "MAV_CMD_DO_SET_HOME",
            "friendlyName":         "Set home location",
            "description":          "Changes the home location either to the current location or a specified location.",
            "specifiesCoordinate":  true,
            "standaloneCoordinate": true,
            "friendlyEdit":         true,
            "category":             "Advanced",
            "param1": {
                "label":            "Mode:",
                "enumStrings":      "Vehicle position,Specified position",
                "enumValues":       "1,0",
                "default":          0,
                "decimalPlaces":    0
            }
        },
456
        { "id": 180, "rawName": "MAV_CMD_DO_SET_PARAMETER", "friendlyName": "Set Parameter" },
457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494
        {
            "id":           181,
            "rawName":      "MAV_CMD_DO_SET_RELAY",
            "friendlyName": "Set relay",
            "description":  "Set relay to a condition.",
            "param1": {
                "label":            "Relay #:",
                "default":          0,
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "Value:",
                "default":          0
            }
        },
        {
            "id":           182,
            "rawName":      "MAV_CMD_DO_REPEAT_RELAY",
            "friendlyName": "Cycle relay",
            "description":  "Cycle relay on/off for desired cycles/time.",
            "param1": {
                "label":            "Relay #:",
                "default":          0,
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "Cycles:",
                "default":          1,
                "units":            "count",
                "decimalPlaces":    0
            },
            "param3": {
                "label":            "Time:",
                "default":          10,
                "units":            "seconds",
                "decimalPlaces":    0
            }
        },
Don Gagne's avatar
Don Gagne committed
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511
        {
            "id":           183,
            "rawName":      "MAV_CMD_DO_SET_SERVO",
            "friendlyName": "Set servo",
            "description":  "Set servo to specified PWM value.",
            "friendlyEdit": true,
            "param1": {
                "label":            "Servo:",
                "default":          1,
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "PWM:",
                "default":          1000,
                "decimalPlaces":    0
            }
        },
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539
        {
            "id":           184,
            "rawName":      "MAV_CMD_DO_REPEAT_SERVO",
            "friendlyName": "Cycle servo",
            "description":  "Set servo to specified PWM value.",
            "param1": {
                "label":            "Servo:",
                "default":          1,
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "PWM:",
                "default":          1000,
                "decimalPlaces":    0
            },
            "param3": {
                "label":            "Cycles:",
                "default":          1,
                "units":            "count",
                "decimalPlaces":    0
            },
            "param4": {
                "label":            "Time:",
                "default":          10,
                "units":            "seconds",
                "decimalPlaces":    0
            }
        },
540
        { "id": 185, "rawName": "MAV_CMD_DO_FLIGHTTERMINATION", "friendlyName": "Flight termination" },
Don Gagne's avatar
Don Gagne committed
541 542 543 544 545 546
        {
            "id":                   189,
            "rawName":              "MAV_CMD_DO_LAND_START",
            "friendlyName":         "Land start",
            "description":          "Marker to indicate start of landing sequence.",
            "specifiesCoordinate":  true,
547
            "standaloneCoordinate": true,
Don Gagne's avatar
Don Gagne committed
548
            "friendlyEdit":         true,
549
            "category":             "Basic"
Don Gagne's avatar
Don Gagne committed
550
        },
551 552 553 554 555
        { "id": 190, "rawName": "MAV_CMD_DO_RALLY_LAND", "friendlyName": "Rally land" },
        { "id": 191, "rawName": "MAV_CMD_DO_GO_AROUND", "friendlyName": "Go around" },
        { "id": 192, "rawName": "MAV_CMD_DO_REPOSITION", "friendlyName": "Reposition" },
        { "id": 193, "rawName": "MAV_CMD_DO_PAUSE_CONTINUE", "friendlyName": "Pause/Continue" },
        { "id": 200, "rawName": "MAV_CMD_DO_CONTROL_VIDEO", "friendlyName": "Control video" },
556
        {
557 558 559 560
            "id":                   201,
            "rawName":              "MAV_CMD_DO_SET_ROI",
            "friendlyName":         "Region of interest (cmd)" ,
            "description":          "Sets the region of interest for cameras.",
561
            "specifiesCoordinate":  true,
562
            "standaloneCoordinate": true,
563
            "friendlyEdit":         true,
Don Gagne's avatar
Don Gagne committed
564
            "category":             "Camera",
565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587
            "param1": {
                "label":            "Mode:",
                "enumStrings":      "None,Next waypoint,Mission item,Location,ROI item",
                "enumValues":       "0,1,2,3,4",
                "default":          3,
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "Mission Index:",
                "default":          0,
                "decimalPlaces":    0
            },
            "param3": {
                "label":            "ROI Index:",
                "default":          0,
                "decimalPlaces":    0
            }
        },
        {
            "id":           202,
            "rawName":      "MAV_CMD_DO_DIGICAM_CONFIGURE",
            "friendlyName": "Camera config",
            "description":  "Configure onboard camera controller.",
Don Gagne's avatar
Don Gagne committed
588
            "category":     "Camera",
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631
            "param1": {
                "label":            "Mode:",
                "default":          0,
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "Shutter spd:",
                "default":          60,
                "units":            "1/secs",
                "decimalPlaces":    0
            },
            "param3": {
                "label":            "Aperture:",
                "default":          4,
                "units":            "F stop",
                "decimalPlaces":    1
            },
            "param4": {
                "label":            "ISO:",
                "default":          200,
                "decimalPlaces":    0
            },
            "param5": {
                "label":            "Exposure:",
                "default":          0,
                "decimalPlaces":    0
            },
            "param6": {
                "label":            "Command:",
                "default":          0,
                "decimalPlaces":    0
            },
            "param7": {
                "label":            "Cut off:",
                "default":          0,
                "decimalPlaces":    2
            }
        },
        {
            "id":           203,
            "friendlyName": "Camera control",
            "rawName":      "MAV_CMD_DO_DIGICAM_CONTROL",
            "description":  "Control onboard camera.",
Don Gagne's avatar
Don Gagne committed
632
            "category":     "Camera",
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663
            "param1": {
                "label":            "Session:",
                "default":          0,
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "Zoom:",
                "default":          0,
                "decimalPlaces":    3
            },
            "param3": {
                "label":            "Step:",
                "default":          0,
                "decimalPlaces":    3
            },
            "param4": {
                "label":            "Focus lock:",
                "default":          0,
                "decimalPlaces":    0
            },
            "param5": {
                "label":            "Command:",
                "default":          0,
                "decimalPlaces":    0
            },
            "param6": {
                "label":            "Id:",
                "default":          0,
                "decimalPlaces":    0
            }
        },
664
        { "id": 204, "rawName": "MAV_CMD_DO_MOUNT_CONFIGURE", "friendlyName": "Mount configure" },
665 666 667 668 669
        {
            "id":           205,
            "rawName":      "MAV_CMD_DO_MOUNT_CONTROL",
            "friendlyName": "Mount config",
            "description":  "Control antenna mount or camera.",
Don Gagne's avatar
Don Gagne committed
670
            "category":     "Camera",
671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698
            "param1": {
                "label":            "Lat/Pitch:",
                "default":          0,
                "decimalPlaces":    7
            },
            "param2": {
                "label":            "Lon/Roll:",
                "default":          0,
                "decimalPlaces":    7
            },
            "param3": {
                "label":            "Alt/Yaw:",
                "default":          0,
                "decimalPlaces":    7
            },
            "param7": {
                "label":            "Mode:",
                "default":          0,
                "decimalPlaces":    0,
                "enumStrings":      "Retract,Neutral,Mavlink Targetting,RC Targetting, GPS Point",
                "enumValues":       "0,1,2,3,4"
            }
        },
        {
            "id":           206,
            "rawName":      "MAV_CMD_DO_SET_CAM_TRIGG_DIST",
            "friendlyName": "Camera trigger distance",
            "description":  "Set camera trigger distance.",
Don Gagne's avatar
Don Gagne committed
699
            "category":     "Camera",
700 701 702 703 704 705 706
            "param1": {
                "label":            "Distance:",
                "default":          25,
                "units":            "meters",
                "decimalPlaces":    2
            }
        },
Don Gagne's avatar
Don Gagne committed
707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738
        {
            "id":                   207,
            "rawName":              "MAV_CMD_DO_FENCE_ENABLE",
            "friendlyName":         "Enable geofence",
            "description":          "Enable/Disable geofence.",
            "specifiesCoordinate":  false,
            "friendlyEdit":         true,
            "category":             "Safety",
            "param1": {
                "label":            "Enable:",
                "enumStrings":      "Disable,Disable floor only,Enable",
                "enumValues":       "0,2,1",
                "default":          1,
                "decimalPlaces":    0
            }
        },
        {
            "id":                   208,
            "rawName":              "MAV_CMD_DO_PARACHUTE",
            "friendlyName":         "Trigger parachute",
            "description":          "Enable/Disable geofence.",
            "specifiesCoordinate":  false,
            "friendlyEdit":         true,
            "category":             "Safety",
            "param1": {
                "label":            "Trigger:",
                "enumStrings":      "Disable,Enable,Release",
                "enumValues":       "0,1,2",
                "default":          1,
                "decimalPlaces":    0
            }
        },
739
        { "id": 209, "rawName": "MAV_CMD_DO_MOTOR_TEST", "friendlyName": "Motor test" },
Don Gagne's avatar
Don Gagne committed
740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776
        {
            "id":                   210,
            "rawName":              "MAV_CMD_DO_INVERTED_FLIGHT",
            "friendlyName":         "Inverted flight",
            "description":          "Change to/from inverted flight.",
            "specifiesCoordinate":  false,
            "friendlyEdit":         true,
            "category":             "Flight control",
            "param1": {
                "label":            "Inverted:",
                "enumStrings":      "Normal,Inverted",
                "enumValues":       "0,1",
                "default":          0,
                "decimalPlaces":    0
            }
        },
        {
            "id":                   211,
            "rawName":              "MAV_CMD_DO_GRIPPER",
            "friendlyName":         "Gripper",
            "description":          "Operate EPM gripper.",
            "specifiesCoordinate":  false,
            "friendlyEdit":         true,
            "category":             "Advanced",
            "param1": {
                "label":            "Gripper id:",
                "default":          1,
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "Action:",
                "enumStrings":      "Release,Grab",
                "enumValues":       "0,1",
                "default":          0,
                "decimalPlaces":    0
            }
        },
777 778
        { "id": 220, "rawName": "MAV_CMD_DO_MOUNT_CONTROL_QUAT", "friendlyName": "MAV_CMD_DO_MOUNT_CONTROL_QUAT" },
        { "id": 221, "rawName": "MAV_CMD_DO_GUIDED_MASTER", "friendlyName": "MAV_CMD_DO_GUIDED_MASTER" },
779 780 781
        {
            "id":           222,
            "rawName":      "MAV_CMD_DO_GUIDED_LIMITS",
Don Gagne's avatar
Don Gagne committed
782
            "friendlyName": "Guided limits",
783 784 785 786 787 788 789 790 791 792 793 794 795 796 797
            "description":  "Set limits for external control",
            "param1": {
                "label":            "Timeout:",
                "default":          0,
                "units":            "seconds",
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "Min Alt:",
                "default":          25,
                "units":            "m(AMSL)",
                "decimalPlaces":    2
            },
            "param3": {
                "label":            "Max Alt:",
Don Gagne's avatar
Don Gagne committed
798
                "units":            "m(AMSL)",
799
                "default":          100,
Don Gagne's avatar
Don Gagne committed
800
                "decimalPlaces":    2
801 802 803 804 805 806 807 808
            },
            "param4": {
                "label":            "H Limit:",
                "default":          25,
                "units":            "m(AMSL)",
                "decimalPlaces":    2
            }
        },
809 810 811 812 813 814 815
        { "id": 241, "rawName": "MAV_CMD_PREFLIGHT_CALIBRATION", "friendlyName": "Calibration" },
        { "id": 242, "rawName": "MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS", "friendlyName": "Set sensor offsets" },
        { "id": 243, "rawName": "MAV_CMD_PREFLIGHT_UAVCAN", "friendlyName": "UAVCAN configure" },
        { "id": 245, "rawName": "MAV_CMD_PREFLIGHT_STORAGE", "friendlyName": "Store parameters" },
        { "id": 246, "rawName": "MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN", "friendlyName": "Reboot/Shutdown vehicle" },
        { "id": 252, "rawName": "MAV_CMD_OVERRIDE_GOTO", "friendlyName": "Override goto" },
        { "id": 300, "rawName": "MAV_CMD_MISSION_START", "friendlyName": "Mission start" },
816
        { "id": 400, "rawName": "MAV_CMD_COMPONENT_ARM_DISARM", "friendlyName": "Arm/Disarm" },
817 818 819 820 821 822 823 824 825 826 827
        { "id": 410, "rawName": "MAV_CMD_GET_HOME_POSITION", "friendlyName": "Get home position" },
        { "id": 500, "rawName": "MAV_CMD_START_RX_PAIR", "friendlyName": "Bind Spektrum receiver" },
        { "id": 510, "rawName": "MAV_CMD_GET_MESSAGE_INTERVAL", "friendlyName": "Get message interval" },
        { "id": 511, "rawName": "MAV_CMD_SET_MESSAGE_INTERVAL", "friendlyName": "Set message interval" },
        { "id": 520, "rawName": "MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES", "friendlyName": "Get capabilities" },
        { "id": 2000, "rawName": "MAV_CMD_IMAGE_START_CAPTURE", "friendlyName": "Start image capture" },
        { "id": 2001, "rawName": "MAV_CMD_IMAGE_STOP_CAPTURE", "friendlyName": "Stop image capture" },
        { "id": 2003, "rawName": "MAV_CMD_DO_TRIGGER_CONTROL", "friendlyName": "Trigger control" },
        { "id": 2500, "rawName": "MAV_CMD_VIDEO_START_CAPTURE", "friendlyName": "Start video capture" },
        { "id": 2501, "rawName": "MAV_CMD_VIDEO_STOP_CAPTURE", "friendlyName": "Stop video cpture" },
        { "id": 2800, "rawName": "MAV_CMD_PANORAMA_CREATE", "friendlyName": "Create panorama" },
828 829 830 831 832
        {
            "id": 3000,
            "rawName": "MAV_CMD_DO_VTOL_TRANSITION",
            "friendlyName": "VTOL Transition",
            "description":  "Perform flight mode transition",
Don Gagne's avatar
Don Gagne committed
833
            "category":     "VTOL",
834
            "param1": {
835
                "label":            "Mode:",
836
                "default":          3,
837 838 839 840 841
                "decimalPlaces":    0,
                "enumStrings":      "Hover Mode,Plane Mode",
                "enumValues":       "3,4"
            }
        },
842 843
        { "id": 30001, "rawName": "MAV_CMD_PAYLOAD_PREPARE_DEPLOY", "friendlyName": "Payload prepare deploy" },
        { "id": 30002, "rawName": "MAV_CMD_PAYLOAD_CONTROL_DEPLOY", "friendlyName": "Payload control deploy" }
844 845
    ]
}