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