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