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