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

4 5 6 7
    "version": 1,

    "mavCmdInfo": [
        {
8
            "comment":              "MAV_CMD_NAV_LAST: Used for mission settings / planned home position waypoint",
9
            "id":                   95,
10
            "rawName":              "HomeRaw",
11 12
            "friendlyName":         "Home Position",
            "description":          "Planned home position for mission.",
13
            "specifiesCoordinate":  true,
14 15 16
            "friendlyEdit":         true,
            "category":             "Basic",
            "param5": {
17
                "label":            "Latitude",
18 19 20 21
                "default":          37.803784,
                "decimalPlaces":    7
            },
            "param6": {
22
                "label":            "Longitude",
23 24 25
                "default":          -122.462276,
                "decimalPlaces":    7
            }
26 27 28 29 30 31 32 33
        },
        {
            "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
34
            "category":             "Basic",
35
            "param1": {
36
                "label":            "Hold",
37
                "units":            "secs",
Don Gagne's avatar
Don Gagne committed
38
                "default":          0,
39
                "decimalPlaces":    0
40 41
            },
            "param2": {
42
                "label":            "Acceptance",
43 44 45 46 47
                "units":            "m",
                "default":          3,
                "decimalPlaces":    2
            },
            "param3": {
48
                "label":            "PassThru",
49 50 51 52 53
                "units":            "m",
                "default":          0,
                "decimalPlaces":    2
            },
            "param4": {
54
                "label":            "Heading",
55
                "units":            "radians",
56
                "nanUnchanged":     true,
57
                "decimalPlaces":    2
58 59 60 61 62 63 64 65 66
            }
        },
        {
            "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
67
            "category":             "Loiter",
68
            "param3": {
69
                "label":            "Radius",
70
                "units":            "m",
71
                "default":          50.0,
72
                "decimalPlaces":    2
73 74 75 76 77 78
            },
            "param4": {
                "label":            "Heading",
                "units":            "radians",
                "nanUnchanged":     true,
                "decimalPlaces":    2
79 80 81 82 83 84 85 86 87
            }
        },
        {
            "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
88
            "category":             "Loiter",
89
            "param1": {
90
                "label":            "Turns",
Don Gagne's avatar
Don Gagne committed
91
                "default":          1,
92 93 94
                "decimalPlaces":    0
            },
            "param3": {
95
                "label":            "Radius",
96
                "units":            "m",
97
                "default":          50.0,
98
                "decimalPlaces":    2
99 100
            },
            "param4": {
101 102 103 104
                "label":            "Heading",
                "units":            "radians",
                "nanUnchanged":     true,
                "decimalPlaces":    2
105 106 107 108 109 110 111 112 113
            }
        },
        {
            "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
114
            "category":             "Loiter",
115
            "param1": {
116
                "label":            "Hold",
117
                "units":            "secs",
Don Gagne's avatar
Don Gagne committed
118
                "default":          30,
119 120 121
                "decimalPlaces":    0
            },
            "param3": {
122
                "label":            "Radius",
123
                "units":            "m",
124
                "default":          50.0,
125
                "decimalPlaces":    2
126 127
            },
            "param4": {
128 129 130 131
                "label":            "Heading",
                "units":            "radians",
                "nanUnchanged":     true,
                "decimalPlaces":    2
132 133 134 135 136 137 138
            }
        },
        {
            "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
139 140
            "friendlyEdit": true,
            "category":     "Basic"
141 142 143 144 145 146 147 148
        },
        {
            "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
149
            "category":             "Basic",
150
            "param1": {
151
                "label":            "Abort Alt",
152
                "units":            "m",
Don Gagne's avatar
Don Gagne committed
153
                "default":          25.0,
154
                "decimalPlaces":    2
155 156
            },
            "param4": {
157
                "label":            "Heading",
158
                "units":            "radians",
159
                "nanUnchanged":     true,
160 161 162 163 164 165 166 167 168 169
                "decimalPlaces":    2
            }
        },
        {
            "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
170
            "category":             "Basic",
171
            "param1": {
172
                "label":            "Pitch",
173
                "units":            "deg",
174
                "default":          15,
175 176 177
                "decimalPlaces":    2
            },
            "param4": {
178
                "label":            "Heading",
179
                "units":            "radians",
180
                "nanUnchanged":     true,
181 182 183
                "decimalPlaces":    2
            }
        },
184 185 186
        { "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
187
        {
188 189 190 191 192 193 194 195
            "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,
            "specifiesAltitudeOnly":    true,
            "friendlyEdit":             true,
            "category":                 "Flight control",
Don Gagne's avatar
Don Gagne committed
196
            "param1": {
197
                "label":            "Mode",
Don Gagne's avatar
Don Gagne committed
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
                "enumStrings":      "Climb,Neutral,Descend",
                "enumValues":       "1,0,2",
                "default":          1,
                "decimalPlaces":    0
            }
        },
        {
            "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": {
213
                "label":            "Heading wait",
Don Gagne's avatar
Don Gagne committed
214 215 216 217 218 219
                "enumStrings":      "False,True",
                "enumValues":       "0,1",
                "default":          0,
                "decimalPlaces":    0
            },
            "param2": {
220
                "label":            "Radius",
221
                "units":            "m",
222
                "default":          50.0,
Don Gagne's avatar
Don Gagne committed
223
                "decimalPlaces":    2
224 225
            },
            "param4": {
226
                "label":            "Exit loiter from",
Don Gagne's avatar
Don Gagne committed
227
                "enumStrings":      "Center,Tangent",
228 229 230
                "enumValues":       "0,1",
                "default":          1,
                "decimalPlaces":    0
Don Gagne's avatar
Don Gagne committed
231 232
            }
        },
233 234
        { "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
235 236 237
        {
            "id":                   80,
            "rawName":              "MAV_CMD_NAV_ROI",
238
            "friendlyName":         "Region of interest (nav)",
Don Gagne's avatar
Don Gagne committed
239 240
            "description":          "Sets the region of interest for cameras.",
            "specifiesCoordinate":  true,
241
            "standaloneCoordinate": true,
Don Gagne's avatar
Don Gagne committed
242
            "friendlyEdit":         true,
Don Gagne's avatar
Don Gagne committed
243
            "category":             "Camera",
Don Gagne's avatar
Don Gagne committed
244
            "param1": {
245
                "label":            "Mode",
Don Gagne's avatar
Don Gagne committed
246 247 248 249 250 251
                "enumStrings":      "None,Next waypoint,Mission item,Location,ROI item",
                "enumValues":       "0,1,2,3,4",
                "default":          3,
                "decimalPlaces":    0
            },
            "param2": {
252
                "label":            "Mission Index",
Don Gagne's avatar
Don Gagne committed
253 254 255 256
                "default":          0,
                "decimalPlaces":    0
            },
            "param3": {
257
                "label":            "ROI Index",
Don Gagne's avatar
Don Gagne committed
258 259 260 261
                "default":          0,
                "decimalPlaces":    0
            }
        },
Don Gagne's avatar
Don Gagne committed
262 263 264 265 266 267 268 269 270
        {
            "id":                   81,
            "rawName":              "MAV_CMD_NAV_PATHPLANNING",
            "friendlyName":         "Path planning",
            "description":          "Control autonomous path planning.",
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
            "category":             "Advanced",
            "param1": {
271
                "label":            "Local planning",
Don Gagne's avatar
Don Gagne committed
272 273 274 275 276 277
                "enumStrings":      "Disable,Enable,Enable+reset",
                "enumValues":       "0,1,2",
                "default":          1,
                "decimalPlaces":    0
            },
            "param2": {
278
                "label":            "Full planning",
Don Gagne's avatar
Don Gagne committed
279 280 281 282 283 284
                "enumStrings":      "Disable,Enable,Enable+reset,Enable+reset route only",
                "enumValues":       "0,1,2,3",
                "default":          1,
                "decimalPlaces":    0
            },
            "param4": {
285
                "label":            "Heading goal",
Don Gagne's avatar
Don Gagne committed
286
                "default":          0,
287
                "units":            "deg",
Don Gagne's avatar
Don Gagne committed
288 289 290 291 292 293 294 295 296 297 298 299
                "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": {
300
                "label":            "Hold",
301
                "units":            "secs",
Don Gagne's avatar
Don Gagne committed
302 303
                "default":          0,
                "decimalPlaces":    0
304
            }        
Don Gagne's avatar
Don Gagne committed
305
        },
306
        { "id": 83, "rawName": "MAV_CMD_NAV_ALTITUDE_WAIT", "friendlyName": "Altitude wait" },
Don Gagne's avatar
Don Gagne committed
307 308 309
        {
            "id":                   84,
            "rawName":              "MAV_CMD_NAV_VTOL_TAKEOFF",
Don Gagne's avatar
Don Gagne committed
310
            "friendlyName":         "VTOL takeoff and transition",
Don Gagne's avatar
Don Gagne committed
311
            "description":          "Takeoff in VTOL mode, transition to forward flight and fly to the specified location.",
Don Gagne's avatar
Don Gagne committed
312 313 314 315
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
            "category":             "VTOL",
            "param4": {
316
                "label":            "Heading",
317
                "units":            "deg",
318
                "nanUnchanged":     true,
Don Gagne's avatar
Don Gagne committed
319 320 321 322 323 324
                "decimalPlaces":    2
            }
        },
        {
            "id":                   85,
            "rawName":              "MAV_CMD_NAV_VTOL_LAND",
Don Gagne's avatar
Don Gagne committed
325 326
            "friendlyName":         "VTOL transition and land",
            "description":          "Transition to VTOL mode and land.",
Don Gagne's avatar
Don Gagne committed
327 328 329 330
            "specifiesCoordinate":  true,
            "friendlyEdit":         true,
            "category":             "VTOL",
            "param4": {
331
                "label":            "Heading",
332
                "units":            "deg",
333
                "nanUnchanged":     true,
Don Gagne's avatar
Don Gagne committed
334 335 336
                "decimalPlaces":    2
            }
        },
337 338 339 340 341 342
        {
            "id":           92,
            "rawName":      "MAV_CMD_NAV_GUIDED_ENABLE",
            "friendlyName": "Guided enable",
            "description":  "Enable/Disabled guided mode.",
            "param1": {
343 344 345
                "label":            "Enable",
                "enumStrings":      "Disable,Enable",
                "enumValues":       "0,1",
346 347 348 349
                "default":          1,
                "decimalPlaces":    0
            }
        },
350 351 352 353 354 355
        {
            "id":           94,
            "rawName":      "MAV_CMD_NAV_DELAY",
            "friendlyName": "Delay until",
            "description":  "Delay unti the specified time is reached.",
            "param1": {
356
                "label":            "Hold",
357 358 359 360 361
                "units":            "secs",
                "default":          30,
                "decimalPlaces":    0
            },
            "param2": {
362
                "label":            "Hour (utc)",
363 364 365 366
                "default":          0,
                "decimalPlaces":    0
            },
            "param3": {
367
                "label":            "Min (utc)",
368 369 370 371
                "default":          0,
                "decimalPlaces":    0
            },
            "param4": {
372
                "label":            "Sec (utc)",
373 374 375 376
                "default":          0,
                "decimalPlaces":    0
            }
        },
377 378 379 380 381 382
        {
            "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
383
            "category":     "Basic",
384
            "param1": {
385
                "label":            "Hold",
386
                "units":            "secs",
Don Gagne's avatar
Don Gagne committed
387
                "default":          30,
388 389 390
                "decimalPlaces":    0
            }
        },
391
        {
392 393 394 395 396 397 398
            "id":                           113,
            "rawName":                  "MAV_CMD_CONDITION_CHANGE_ALT",
            "description":              "Delay the mission until the specified altitide is reached.",
            "friendlyName":             "Wait for altitude",
            "category":                 "Conditionals",
            "specifiesCoordinate":      false,
            "specifiesAltitudeOnly":    true,
399
            "param1": {
400
                "label":            "Rate",
401 402 403 404 405 406 407 408 409 410
                "units":            "m/s",
                "default":          5,
                "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
411
            "category":     "Conditionals",
412
            "param1": {
413
                "label":            "Distance",
414
                "units":            "m",
415
                "default":          10,
416 417 418 419 420 421 422 423
                "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
424
            "category":     "Conditionals",
425
            "param1": {
426
                "label":            "Heading",
427
                "units":            "deg",
428 429 430 431
                "default":          0,
                "decimalPlaces":    1
            },
            "param2": {
432
                "label":            "Rate",
433 434 435 436 437
                "units":            "degrees/s",
                "default":          5,
                "decimalPlaces":    1
            },
            "param3": {
438
                "label":            "Direction",
439 440 441
                "enumStrings":      "Clockwise,Counter-Clockwise",
                "enumValues":       "1,-1",
                "default":          1
442
            },
443
            "param4": {
444
                "label":            "Offset",
445 446
                "enumStrings":      "Relative,Absolute",
                "enumValues":       "1,0",
447
                "default":          1
448 449
            }
        },
450
        { "id": 176, "rawName": "MAV_CMD_DO_SET_MODE", "friendlyName": "Set mode" },
451 452 453 454 455 456 457
        {
            "id":           176,
            "rawName":      "MAV_CMD_DO_SET_MODE",
            "friendlyName": "Set flight mode",
            "description":  "Set flight mode.",
            "category":     "Advanced",
            "param1": {
458
                "label":            "Mode",
459 460 461 462
                "default":          0,
                "decimalPlaces":    0
            },
            "param2": {
463
                "label":            "Custom Mode",
464 465 466 467
                "default":          0,
                "decimalPlaces":    0
            },
            "param3": {
468
                "label":            "Sub Mode",
469 470 471 472
                "default":          0,
                "decimalPlaces":    0
            }
        },
473 474 475 476 477 478
        {
            "id":           177,
            "rawName":      "MAV_CMD_DO_JUMP",
            "friendlyName": "Jump to item",
            "description":  "Mission will continue at the specified item.",
            "friendlyEdit": true,
479
            "category":     "Advanced",
480
            "param1": {
481
                "label":            "Item #",
Don Gagne's avatar
Don Gagne committed
482
                "default":          1,
483 484 485
                "decimalPlaces":    0
            },
            "param2": {
486
                "label":            "Repeat",
487
                "default":          10,
488 489 490
                "decimalPlaces":    0
            }
        },
491 492 493 494 495
        {
            "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
496
            "category":     "Flight control",
497
            "param1": {
498
                "label":            "Type",
499 500
                "enumStrings":      "Airspeed,Ground Speed",
                "enumValues":       "0,1",
501
                "default":          0
502 503
            },
            "param2": {
504
                "label":            "Speed",
505
                "units":            "m/s",
506
                "default":          0
507 508
            },
            "param3": {
509
                "label":            "Throttle",
510
                "units":            "%",
511
                "default":          0
512 513
            },
            "param4": {
514
                "label":            "Offset",
515 516
                "enumStrings":      "Relative,Absolute",
                "enumValues":       "1,0",
517
                "default":          0
518 519
            }
        },
Don Gagne's avatar
Don Gagne committed
520 521 522 523 524 525 526 527 528 529
        {
            "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": {
530
                "label":            "Mode",
Don Gagne's avatar
Don Gagne committed
531 532
                "enumStrings":      "Vehicle position,Specified position",
                "enumValues":       "1,0",
533
                "default":          0
Don Gagne's avatar
Don Gagne committed
534 535
            }
        },
536
        { "id": 180, "rawName": "MAV_CMD_DO_SET_PARAMETER", "friendlyName": "Set Parameter" },
537 538 539 540 541 542
        {
            "id":           181,
            "rawName":      "MAV_CMD_DO_SET_RELAY",
            "friendlyName": "Set relay",
            "description":  "Set relay to a condition.",
            "param1": {
543
                "label":            "Relay #",
544 545 546 547
                "default":          0,
                "decimalPlaces":    0
            },
            "param2": {
548
                "label":            "Value",
549 550 551 552 553 554 555 556 557
                "default":          0
            }
        },
        {
            "id":           182,
            "rawName":      "MAV_CMD_DO_REPEAT_RELAY",
            "friendlyName": "Cycle relay",
            "description":  "Cycle relay on/off for desired cycles/time.",
            "param1": {
558
                "label":            "Relay #",
559 560 561 562
                "default":          0,
                "decimalPlaces":    0
            },
            "param2": {
563
                "label":            "Cycles",
564 565 566 567 568
                "default":          1,
                "units":            "count",
                "decimalPlaces":    0
            },
            "param3": {
569
                "label":            "Time",
570
                "default":          10,
571
                "units":            "secs",
572 573 574
                "decimalPlaces":    0
            }
        },
Don Gagne's avatar
Don Gagne committed
575 576 577 578 579 580 581
        {
            "id":           183,
            "rawName":      "MAV_CMD_DO_SET_SERVO",
            "friendlyName": "Set servo",
            "description":  "Set servo to specified PWM value.",
            "friendlyEdit": true,
            "param1": {
582
                "label":            "Servo",
Don Gagne's avatar
Don Gagne committed
583 584 585 586
                "default":          1,
                "decimalPlaces":    0
            },
            "param2": {
587
                "label":            "PWM",
588
                "default":          1500,
Don Gagne's avatar
Don Gagne committed
589 590 591
                "decimalPlaces":    0
            }
        },
592 593 594 595 596 597
        {
            "id":           184,
            "rawName":      "MAV_CMD_DO_REPEAT_SERVO",
            "friendlyName": "Cycle servo",
            "description":  "Set servo to specified PWM value.",
            "param1": {
598
                "label":            "Servo",
599 600 601 602
                "default":          1,
                "decimalPlaces":    0
            },
            "param2": {
603
                "label":            "PWM",
604 605 606 607
                "default":          1000,
                "decimalPlaces":    0
            },
            "param3": {
608
                "label":            "Cycles",
609 610 611 612 613
                "default":          1,
                "units":            "count",
                "decimalPlaces":    0
            },
            "param4": {
614
                "label":            "Time",
615
                "default":          10,
616
                "units":            "secs",
617 618 619
                "decimalPlaces":    0
            }
        },
620
        { "id": 185, "rawName": "MAV_CMD_DO_FLIGHTTERMINATION", "friendlyName": "Flight termination" },
Don Gagne's avatar
Don Gagne committed
621 622 623 624 625 626
        {
            "id":                   189,
            "rawName":              "MAV_CMD_DO_LAND_START",
            "friendlyName":         "Land start",
            "description":          "Marker to indicate start of landing sequence.",
            "friendlyEdit":         true,
627
            "category":             "Flight control"
Don Gagne's avatar
Don Gagne committed
628
        },
629 630 631 632
        { "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" },
633 634 635 636 637 638 639 640
        {
            "id":                   194,
            "rawName":              "MAV_CMD_DO_SET_REVERSE",
            "friendlyName":         "Set moving direction" ,
            "description":          "Set moving direction to forward or reverse.",
            "friendlyEdit":         true,
            "category":             "Advanced",
            "param1": {
641
                "label":            "Direction",
642 643 644 645 646
                "enumStrings":      "Forward,Reverse",
                "enumValues":       "0,1",
                "default":          0
            }
        },
647
        { "id": 200, "rawName": "MAV_CMD_DO_CONTROL_VIDEO", "friendlyName": "Control video" },
648
        {
649 650 651 652
            "id":                   201,
            "rawName":              "MAV_CMD_DO_SET_ROI",
            "friendlyName":         "Region of interest (cmd)" ,
            "description":          "Sets the region of interest for cameras.",
653
            "specifiesCoordinate":  true,
654
            "standaloneCoordinate": true,
655
            "friendlyEdit":         true,
Don Gagne's avatar
Don Gagne committed
656
            "category":             "Camera",
657
            "param1": {
658
                "label":            "Mode",
659 660 661 662 663 664
                "enumStrings":      "None,Next waypoint,Mission item,Location,ROI item",
                "enumValues":       "0,1,2,3,4",
                "default":          3,
                "decimalPlaces":    0
            },
            "param2": {
665
                "label":            "Mission Index",
666 667 668 669
                "default":          0,
                "decimalPlaces":    0
            },
            "param3": {
670
                "label":            "ROI Index",
671 672 673 674 675 676 677 678 679
                "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
680
            "category":     "Camera",
681
            "param1": {
682
                "label":            "Mode",
683 684 685 686
                "default":          0,
                "decimalPlaces":    0
            },
            "param2": {
687
                "label":            "Shutter spd",
688 689 690 691 692
                "default":          60,
                "units":            "1/secs",
                "decimalPlaces":    0
            },
            "param3": {
693
                "label":            "Aperture",
694 695 696 697 698
                "default":          4,
                "units":            "F stop",
                "decimalPlaces":    1
            },
            "param4": {
699
                "label":            "ISO",
700 701 702 703
                "default":          200,
                "decimalPlaces":    0
            },
            "param5": {
704
                "label":            "Exposure",
705 706 707 708
                "default":          0,
                "decimalPlaces":    0
            },
            "param6": {
709
                "label":            "Command",
710 711 712 713
                "default":          0,
                "decimalPlaces":    0
            },
            "param7": {
714
                "label":            "Cut off",
715 716 717 718 719 720 721 722 723
                "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
724
            "category":     "Camera",
725
            "param1": {
726
                "label":            "Session",
727 728 729 730
                "default":          0,
                "decimalPlaces":    0
            },
            "param2": {
731
                "label":            "Zoom",
732 733 734 735
                "default":          0,
                "decimalPlaces":    3
            },
            "param3": {
736
                "label":            "Step",
737 738 739 740
                "default":          0,
                "decimalPlaces":    3
            },
            "param4": {
741
                "label":            "Focus lock",
742 743 744 745
                "default":          0,
                "decimalPlaces":    0
            },
            "param5": {
746
                "label":            "Command",
747 748 749 750
                "default":          0,
                "decimalPlaces":    0
            },
            "param6": {
751
                "label":            "Id",
752 753 754 755
                "default":          0,
                "decimalPlaces":    0
            }
        },
Leon's avatar
Leon committed
756 757 758 759 760
        {
            "id":           204,
            "rawName":      "MAV_CMD_DO_MOUNT_CONFIGURE",
            "friendlyName": "Configure Mount",
            "description":  "Configure the vehicle mount (e.g. gimbal).",
Leon's avatar
Leon committed
761
            "category":     "Advanced",
Leon's avatar
Leon committed
762
            "param1": {
763
                "label":            "Mode",
Leon's avatar
Leon committed
764 765
                "default":          0,
                "decimalPlaces":    0,
Ricardo de Almeida Gonzaga's avatar
Ricardo de Almeida Gonzaga committed
766
                "enumStrings":      "Retract,Neutral,Mavlink Targeting,RC Targeting,GPS Point",
Leon's avatar
Leon committed
767 768 769
                "enumValues":       "0,1,2,3,4"
            },
            "param2": {
770
                "label":            "Stabilize Roll",
Leon's avatar
Leon committed
771 772 773 774 775 776
                "default":          0,
                "decimalPlaces":    0,
                "enumStrings":      "No,Yes",
                "enumValues":       "0,1"
            },
            "param3": {
777
                "label":            "Stabilize Pitch",
Leon's avatar
Leon committed
778 779 780 781 782 783
                "default":          0,
                "decimalPlaces":    0,
                "enumStrings":      "No,Yes",
                "enumValues":       "0,1"
            },
            "param4": {
784
                "label":            "Stabilize Yaw",
Leon's avatar
Leon committed
785 786 787 788 789 790
                "default":          0,
                "decimalPlaces":    0,
                "enumStrings":      "No,Yes",
                "enumValues":       "0,1"
            }
        },
791 792 793
        {
            "id":           205,
            "rawName":      "MAV_CMD_DO_MOUNT_CONTROL",
Leon's avatar
Leon committed
794 795
            "friendlyName": "Control Mount",
            "description":  "Control the vehicle mount (e.g. gimbal).",
Leon's avatar
Leon committed
796
            "category":     "Advanced",
797
            "param1": {
798
                "label":            "Lat/Pitch",
799
                "default":          0,
800
                "units":            "deg",
801 802 803
                "decimalPlaces":    7
            },
            "param2": {
804
                "label":            "Lon/Roll",
805
                "default":          0,
806
                "units":            "deg",
807 808 809
                "decimalPlaces":    7
            },
            "param3": {
810
                "label":            "Alt/Yaw",
811 812 813 814
                "default":          0,
                "decimalPlaces":    7
            },
            "param7": {
815
                "label":            "Mode",
816 817
                "default":          0,
                "decimalPlaces":    0,
Leon's avatar
Leon committed
818
                "enumStrings":      "Retract,Neutral,Mavlink Targeting,RC Targeting,GPS Point",
819 820 821 822
                "enumValues":       "0,1,2,3,4"
            }
        },
        {
823 824 825 826 827
            "id":                   206,
            "rawName":              "MAV_CMD_DO_SET_CAM_TRIGG_DIST",
            "friendlyName":         "Camera trigger distance",
            "description":          "Set camera trigger distance.",
            "category":             "Camera",
828
            "param1": {
829
                "label":            "Distance",
830
                "default":          25,
831
                "units":            "m",
832 833 834
                "decimalPlaces":    2
            }
        },
Don Gagne's avatar
Don Gagne committed
835 836 837 838 839 840 841 842 843
        {
            "id":                   207,
            "rawName":              "MAV_CMD_DO_FENCE_ENABLE",
            "friendlyName":         "Enable geofence",
            "description":          "Enable/Disable geofence.",
            "specifiesCoordinate":  false,
            "friendlyEdit":         true,
            "category":             "Safety",
            "param1": {
844
                "label":            "Enable",
Don Gagne's avatar
Don Gagne committed
845 846 847 848 849 850 851 852 853 854 855 856 857 858 859
                "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": {
860
                "label":            "Trigger",
Don Gagne's avatar
Don Gagne committed
861 862 863 864 865 866
                "enumStrings":      "Disable,Enable,Release",
                "enumValues":       "0,1,2",
                "default":          1,
                "decimalPlaces":    0
            }
        },
867
        { "id": 209, "rawName": "MAV_CMD_DO_MOTOR_TEST", "friendlyName": "Motor test" },
Don Gagne's avatar
Don Gagne committed
868 869 870 871 872 873 874 875 876
        {
            "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": {
877
                "label":            "Inverted",
Don Gagne's avatar
Don Gagne committed
878 879
                "enumStrings":      "Normal,Inverted",
                "enumValues":       "0,1",
880
                "default":          0
Don Gagne's avatar
Don Gagne committed
881 882 883 884 885 886 887 888 889 890 891
            }
        },
        {
            "id":                   211,
            "rawName":              "MAV_CMD_DO_GRIPPER",
            "friendlyName":         "Gripper",
            "description":          "Operate EPM gripper.",
            "specifiesCoordinate":  false,
            "friendlyEdit":         true,
            "category":             "Advanced",
            "param1": {
892
                "label":            "Gripper id",
Don Gagne's avatar
Don Gagne committed
893 894 895 896
                "default":          1,
                "decimalPlaces":    0
            },
            "param2": {
897
                "label":            "Action",
Don Gagne's avatar
Don Gagne committed
898 899
                "enumStrings":      "Release,Grab",
                "enumValues":       "0,1",
900 901 902 903 904 905 906 907 908 909 910 911
                "default":          0
            }
        },
        {
            "id":                   212,
            "rawName":              "MAV_CMD_DO_AUTOTUNE_ENABLE",
            "friendlyName":         "AutoTune Enable",
            "description":          "AutoTune Enable.",
            "specifiesCoordinate":  false,
            "friendlyEdit":         true,
            "category":             "Advanced",
            "param2": {
912
                "label":            "Enable",
913 914 915
                "enumStrings":      "Enable,Disable",
                "enumValues":       "1,0",
                "default":          1
Don Gagne's avatar
Don Gagne committed
916 917
            }
        },
918 919
        { "id": 220, "rawName": "MAV_CMD_DO_MOUNT_CONTROL_QUAT" },
        { "id": 221, "rawName": "MAV_CMD_DO_GUIDED_MASTER" },
920 921 922
        {
            "id":           222,
            "rawName":      "MAV_CMD_DO_GUIDED_LIMITS",
Don Gagne's avatar
Don Gagne committed
923
            "friendlyName": "Guided limits",
924 925
            "description":  "Set limits for external control",
            "param1": {
926
                "label":            "Timeout",
927
                "default":          0,
928
                "units":            "secs",
929 930 931
                "decimalPlaces":    0
            },
            "param2": {
932
                "label":            "Min Alt",
933
                "default":          25,
934
                "units":            "m",
935 936 937
                "decimalPlaces":    2
            },
            "param3": {
938
                "label":            "Max Alt",
939
                "units":            "m",
940
                "default":          100,
Don Gagne's avatar
Don Gagne committed
941
                "decimalPlaces":    2
942 943
            },
            "param4": {
944
                "label":            "H Limit",
945
                "default":          25,
946
                "units":            "m",
947 948 949
                "decimalPlaces":    2
            }
        },
950 951 952 953 954 955 956
        { "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" },
957
        { "id": 400, "rawName": "MAV_CMD_COMPONENT_ARM_DISARM", "friendlyName": "Arm/Disarm" },
958 959 960 961 962
        { "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" },
963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990
        {
            "id":           2000,
            "rawName":      "MAV_CMD_IMAGE_START_CAPTURE",
            "friendlyName": "Start image capture" ,
            "description":  "Start taking one or more photos.",
            "category":     "Camera",
            "param1": {
                "label":            "Interval",
                "default":          0,
                "units":            "secs",
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "Photo count",
                "default":          1,
                "decimalPlaces":    0
            },
            "param3": {
                "label":            "Resolution",
                "default":          -1,
                "decimalPlaces":    0
            },
            "param6": {
                "label":            "Camera id",
                "default":          0,
                "decimalPlaces":    0
            }
        },
991 992
        { "id": 2001, "rawName": "MAV_CMD_IMAGE_STOP_CAPTURE", "friendlyName": "Stop image capture" },
        { "id": 2003, "rawName": "MAV_CMD_DO_TRIGGER_CONTROL", "friendlyName": "Trigger control" },
993 994 995 996
        {
            "id":           2500,
            "rawName":      "MAV_CMD_VIDEO_START_CAPTURE",
            "friendlyName": "Start video capture",
997
            "description":  "Start video capture.",
998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014
            "category":     "Camera",
            "param1": {
                "label":            "Camera id",
                "default":          0,
                "decimalPlaces":    0
            },
            "param2": {
                "label":            "FPS",
                "default":          -1,
                "decimalPlaces":    0
            },
            "param3": {
                "label":            "Resolution",
                "default":          -1,
                "decimalPlaces":    0
            }
        },
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026
        {
            "id":           2501,
            "rawName":      "MAV_CMD_VIDEO_STOP_CAPTURE",
            "friendlyName": "Stop video capture",
            "description":  "Stop video capture.",
            "category":     "Camera",
            "param1": {
                "label":            "Camera id",
                "default":          0,
                "decimalPlaces":    0
            }
        },
1027
        { "id": 2800, "rawName": "MAV_CMD_PANORAMA_CREATE", "friendlyName": "Create panorama" },
1028 1029
        {
            "id": 3000,
1030
            "rawName":      "MAV_CMD_DO_VTOL_TRANSITION",
1031
            "friendlyName": "VTOL Transition",
Don Gagne's avatar
Don Gagne committed
1032
            "description":  "Perform flight mode transition.",
Don Gagne's avatar
Don Gagne committed
1033
            "category":     "VTOL",
1034
            "param1": {
1035
                "label":            "Mode",
1036
                "default":          3,
1037 1038 1039 1040
                "enumStrings":      "Hover Mode,Plane Mode",
                "enumValues":       "3,4"
            }
        },
1041 1042
        { "id": 30001, "rawName": "MAV_CMD_PAYLOAD_PREPARE_DEPLOY", "friendlyName": "Payload prepare deploy" },
        { "id": 30002, "rawName": "MAV_CMD_PAYLOAD_CONTROL_DEPLOY", "friendlyName": "Payload control deploy" }
1043 1044
    ]
}