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