CameraSection.FactMetaData.json 1.85 KB
Newer Older
1 2 3 4
{
    "version":      1,
    "fileType":  "FactMetaData",
    "QGC.MetaData.Facts":
5 6 7 8 9
[
{
    "name":             "CameraAction",
    "shortDescription": "Specify whether the camera should take photos or video",
    "type":             "uint32",
DonLakeFlyer's avatar
DonLakeFlyer committed
10
    "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
11
    "enumValues":       "0,6,1,2,3,4,5",
12 13 14 15 16 17 18
    "defaultValue":     0
},
{
    "name":             "CameraPhotoIntervalDistance",
    "shortDescription": "Specify the distance between each photo",
    "type":             "double",
    "units":            "m",
19
    "min":              0.1,
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
    "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",
36
    "units":            "gimbal-degrees",
37 38
    "min":              -90,
    "max":              0,
39
    "increment":        5,
40 41 42 43 44 45 46 47
    "decimalPlaces":    0,
    "defaultValue":     0
},
{
    "name":             "GimbalYaw",
    "shortDescription": "Gimbal yaw rotation.",
    "type":             "double",
    "units":            "deg",
48 49
    "min":              -180.0,
    "max":              180.0,
50
    "increment":        5,
51 52
    "decimalPlaces":    0,
    "defaultValue":     0
53 54 55
},
{
    "name":             "CameraMode",
56
    "shortDescription": "Specify whether the camera should switch to Photo, Video or Survey mode",
57
    "type":             "uint32",
58
    "enumStrings":      "Photo,Video,Survey",
59
    "enumValues":       "0,1,2",
60
    "defaultValue":     0
61 62
}
]
63
}