CameraSection.FactMetaData.json 1.71 KB
Newer Older
1 2 3 4 5
[
{
    "name":             "CameraAction",
    "shortDescription": "Specify whether the camera should take photos or video",
    "type":             "uint32",
DonLakeFlyer's avatar
DonLakeFlyer committed
6
    "enumStrings":      "No change,Take photo,Take photos (time),Take photos (distance),Stop taking photos,Start recording video,Stop recording video",
DonLakeFlyer's avatar
DonLakeFlyer committed
7
    "enumValues":       "0,6,1,2,3,4,5",
8 9 10 11 12 13 14
    "defaultValue":     0
},
{
    "name":             "CameraPhotoIntervalDistance",
    "shortDescription": "Specify the distance between each photo",
    "type":             "double",
    "units":            "m",
15
    "min":              0.1,
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
    "decimalPlaces":    1,
    "defaultValue":     1
},
{
    "name":             "CameraPhotoIntervalTime",
    "shortDescription": "Specify the time between each photo",
    "type":             "uint32",
    "units":            "secs",
    "min":              1,
    "decimalPlaces":    0,
    "defaultValue":     10
},
{
    "name":             "GimbalPitch",
    "shortDescription": "Gimbal pitch rotation.",
    "type":             "double",
32
    "units":            "gimbal-degrees",
33 34
    "min":              -90,
    "max":              0,
35 36 37 38 39 40 41 42
    "decimalPlaces":    0,
    "defaultValue":     0
},
{
    "name":             "GimbalYaw",
    "shortDescription": "Gimbal yaw rotation.",
    "type":             "double",
    "units":            "deg",
43 44
    "min":              -180.0,
    "max":              180.0,
45 46
    "decimalPlaces":    0,
    "defaultValue":     0
47 48 49 50 51 52 53 54
},
{
    "name":             "CameraMode",
    "shortDescription": "Specify whether the camera should switch to photo or video mode",
    "type":             "uint32",
    "enumStrings":      "Take photos,Record video",
    "enumValues":       "0,1",
    "defaultValue":     0
55 56
}
]