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