MavCmdInfoCommon.json 44.5 KB
Newer Older
1
{
2
    "comment":  "Any Firmware, Any Vehicle",
3 4
    "version":  1,
    "fileType": "MavCmdInfo",
5 6 7

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