Browse Source

Merge pull request #8667 from yuyabee/master

Add Flir Duo R config
QGC4.4
Don Gagne 5 years ago committed by GitHub
parent
commit
09a98e34a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      src/FirmwarePlugin/FirmwarePlugin.cc

13
src/FirmwarePlugin/FirmwarePlugin.cc

@ -671,6 +671,19 @@ const QVariantList& FirmwarePlugin::cameraList(const Vehicle*) @@ -671,6 +671,19 @@ const QVariantList& FirmwarePlugin::cameraList(const Vehicle*)
this); // parent
_cameraList.append(QVariant::fromValue(metaData));
metaData = new CameraMetaData(
tr("Flir Duo R"),
160, // sensorWidth
120, // sensorHeight
1920, // imageWidth
1080, // imageHeight
1.9, // focalLength
true, // true: landscape orientation
true, // true: camera is fixed orientation
0, // minimum trigger interval
this); // parent
_cameraList.append(QVariant::fromValue(metaData));
}
return _cameraList;

Loading…
Cancel
Save