From 9da239a618c449295a9eb0dc44b3c48bbb2f2f21 Mon Sep 17 00:00:00 2001 From: Sam Duff Date: Fri, 29 Dec 2017 14:03:33 +1000 Subject: [PATCH] Add camera definitions for Parrot Sequioa RGB and Monochrome sensors --- src/FirmwarePlugin/FirmwarePlugin.cc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/FirmwarePlugin/FirmwarePlugin.cc b/src/FirmwarePlugin/FirmwarePlugin.cc index 162ccc1fe..879a8c718 100644 --- a/src/FirmwarePlugin/FirmwarePlugin.cc +++ b/src/FirmwarePlugin/FirmwarePlugin.cc @@ -455,6 +455,30 @@ const QVariantList& FirmwarePlugin::cameraList(const Vehicle* vehicle) 0, // minTriggerInterval this); _cameraList.append(QVariant::fromValue(metaData)); + + metaData = new CameraMetaData(tr("Parrot Sequioa RGB"), + 6.17, // sensorWidth + 4.63, // sendsorHeight + 4608, // imageWidth + 3456, // imageHeight + 4.9, // focalLength + true, // landscape + false, // fixedOrientation + 1, // minTriggerInterval + this); + _cameraList.append(QVariant::fromValue(metaData)); + + metaData = new CameraMetaData(tr("Parrot Sequioa Monochrome"), + 4.8, // sensorWidth + 3.6, // sendsorHeight + 1280, // imageWidth + 960, // imageHeight + 4.0, // focalLength + true, // landscape + false, // fixedOrientation + 0.8, // minTriggerInterval + this); + _cameraList.append(QVariant::fromValue(metaData)); } return _cameraList; -- 2.22.0