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
029c6ac4
Commit
029c6ac4
authored
Jan 03, 2019
by
Gus Grubba
Browse files
Merge branch 'master' of
https://github.com/mavlink/qgroundcontrol
into autoDiscovery
parents
ba1378fa
733a6996
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/CameraCalc.FactMetaData.json
View file @
029c6ac4
...
...
@@ -18,7 +18,7 @@
"min"
:
0.1
,
"units"
:
"m"
,
"decimalPlaces"
:
2
,
"defaultValue"
:
1
0.0
"defaultValue"
:
5
0.0
},
{
"name"
:
"ImageDensity"
,
...
...
@@ -27,7 +27,7 @@
"min"
:
0
,
"units"
:
"cm/px"
,
"decimalPlaces"
:
1
,
"defaultValue"
:
2
5
"defaultValue"
:
1.
2
},
{
"name"
:
"FrontalOverlap"
,
...
...
src/MissionManager/CameraCalc.cc
View file @
029c6ac4
...
...
@@ -127,8 +127,8 @@ void CameraCalc::_cameraNameChanged(void)
// These values are unknown for these types
fixedOrientation
()
->
setRawValue
(
false
);
minTriggerInterval
()
->
setRawValue
(
0
);
if
(
isManualCamera
())
{
valueSetIsDistance
()
->
setRawValue
(
fals
e
);
if
(
isManualCamera
()
&&
!
valueSetIsDistance
()
->
rawValue
().
toBool
()
)
{
valueSetIsDistance
()
->
setRawValue
(
tru
e
);
}
}
else
{
qWarning
()
<<
"Internal Error: Not known camera, but now manual or custom either"
;
...
...
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