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
cbdebe0a
Unverified
Commit
cbdebe0a
authored
Dec 29, 2017
by
Don Gagne
Committed by
GitHub
Dec 29, 2017
Browse files
Merge pull request #5922 from samduff/sdu-sequioa
Add camera definitions for Parrot Sequioa RGB and Monochrome sensors
parents
91d558cf
9da239a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FirmwarePlugin/FirmwarePlugin.cc
View file @
cbdebe0a
...
...
@@ -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