Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
28a968f1
Unverified
Commit
28a968f1
authored
Sep 02, 2020
by
Don Gagne
Committed by
GitHub
Sep 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more cameras (#9036)
parent
3f5aabfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
4 deletions
+68
-4
FirmwarePlugin.cc
src/FirmwarePlugin/FirmwarePlugin.cc
+68
-4
No files found.
src/FirmwarePlugin/FirmwarePlugin.cc
View file @
28a968f1
...
...
@@ -531,6 +531,22 @@ const QVariantList& FirmwarePlugin::cameraList(const Vehicle*)
this
);
// parent
_cameraList
.
append
(
QVariant
::
fromValue
(
metaData
));
metaData
=
new
CameraMetaData
(
"Sony a6000 35mm"
,
tr
(
"Sony"
),
tr
(
"a6000 35mm"
),
23.5
,
// sensorWidth
15.6
,
// sensorHeight
6000
,
// imageWidth
4000
,
// imageHeight
35
,
// focalLength
true
,
// true: landscape orientation
false
,
// true: camera is fixed orientation
2.0
,
// minimum trigger interval
""
,
this
);
// parent
_cameraList
.
append
(
QVariant
::
fromValue
(
metaData
));
metaData
=
new
CameraMetaData
(
"Sony a6300 Zeiss 21mm f/2.8"
,
tr
(
"Sony"
),
...
...
@@ -541,7 +557,7 @@ const QVariantList& FirmwarePlugin::cameraList(const Vehicle*)
4000
,
// imageHeight
21
,
// focalLength
true
,
// true: landscape orientation
true
,
// true: camera is fixed orientation
false
,
// true: camera is fixed orientation
2.0
,
// minimum trigger interval
tr
(
"Sony a6300 Zeiss 21mm f/2.8"
),
// SHOULD BE BLANK FOR NEWLY ADDED CAMERAS. Deprecated translation from older builds.
this
);
// parent
...
...
@@ -557,7 +573,7 @@ const QVariantList& FirmwarePlugin::cameraList(const Vehicle*)
4000
,
// imageHeight
28
,
// focalLength
true
,
// true: landscape orientation
true
,
// true: camera is fixed orientation
false
,
// true: camera is fixed orientation
2.0
,
// minimum trigger interval
tr
(
"Sony a6300 Sony 28mm f/2.0"
),
// SHOULD BE BLANK FOR NEWLY ADDED CAMERAS. Deprecated translation from older builds.
this
);
// parent
...
...
@@ -595,6 +611,38 @@ const QVariantList& FirmwarePlugin::cameraList(const Vehicle*)
this
);
// parent
_cameraList
.
append
(
QVariant
::
fromValue
(
metaData
));
metaData
=
new
CameraMetaData
(
"Sony a7r III 35mm"
,
tr
(
"Sony"
),
tr
(
"a7r III 35mm"
),
35.9
,
// sensorWidth
24.0
,
// sensorHeight
7952
,
// imageWidth
5304
,
// imageHeight
35
,
// focalLength
true
,
// true: landscape orientation
false
,
// true: camera is fixed orientation
2.0
,
// minimum trigger interval
""
,
this
);
// parent
_cameraList
.
append
(
QVariant
::
fromValue
(
metaData
));
metaData
=
new
CameraMetaData
(
"Sony a7r IV 35mm"
,
tr
(
"Sony"
),
tr
(
"a7r IV 35mm"
),
35.7
,
// sensorWidth
23.8
,
// sensorHeight
9504
,
// imageWidth
6336
,
// imageHeight
35
,
// focalLength
true
,
// true: landscape orientation
false
,
// true: camera is fixed orientation
2.0
,
// minimum trigger interval
""
,
this
);
// parent
_cameraList
.
append
(
QVariant
::
fromValue
(
metaData
));
metaData
=
new
CameraMetaData
(
"Sony DSC-QX30U @ 4.3mm f/3.5"
,
tr
(
"Sony"
),
...
...
@@ -610,7 +658,7 @@ const QVariantList& FirmwarePlugin::cameraList(const Vehicle*)
tr
(
"Sony DSC-QX30U @ 4.3mm f/3.5"
),
// SHOULD BE BLANK FOR NEWLY ADDED CAMERAS. Deprecated translation from older builds.
this
);
// parent
_cameraList
.
append
(
QVariant
::
fromValue
(
metaData
));
metaData
=
new
CameraMetaData
(
"Sony DSC-RX0"
,
tr
(
"Sony"
),
...
...
@@ -627,6 +675,22 @@ const QVariantList& FirmwarePlugin::cameraList(const Vehicle*)
this
);
// parent
_cameraList
.
append
(
QVariant
::
fromValue
(
metaData
));
metaData
=
new
CameraMetaData
(
"Sony DSC-RX1R II 35mm"
,
tr
(
"Sony"
),
tr
(
"DSC-RX1R II 35mm"
),
35.9
,
// sensorWidth
24.0
,
// sensorHeight
7952
,
// imageWidth
5304
,
// imageHeight
35
,
// focalLength
true
,
// true: landscape orientation
false
,
// true: camera is fixed orientation
2.0
,
// minimum trigger interval
""
,
this
);
// parent
_cameraList
.
append
(
QVariant
::
fromValue
(
metaData
));
metaData
=
new
CameraMetaData
(
//-- http://www.sony.co.uk/electronics/interchangeable-lens-cameras/ilce-qx1-body-kit/specifications
//-- http://www.sony.com/electronics/camera-lenses/sel16f28/specifications
...
...
@@ -755,7 +819,7 @@ const QVariantList& FirmwarePlugin::cameraList(const Vehicle*)
1080
,
// imageHeight
1.9
,
// focalLength
true
,
// true: landscape orientation
true
,
// true: camera is fixed orientation
false
,
// true: camera is fixed orientation
0
,
// minimum trigger interval
tr
(
"Flir Duo R"
),
// SHOULD BE BLANK FOR NEWLY ADDED CAMERAS. Deprecated translation from older builds.
this
);
// parent
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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