Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
9da239a6
Commit
9da239a6
authored
Dec 29, 2017
by
Sam Duff
Browse files
Add camera definitions for Parrot Sequioa RGB and Monochrome sensors
parent
870f7cb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FirmwarePlugin/FirmwarePlugin.cc
View file @
9da239a6
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment