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
c1465d2c
Commit
c1465d2c
authored
Sep 22, 2017
by
Don Gagne
Committed by
GitHub
Sep 22, 2017
Browse files
Merge pull request #5683 from yl5006/patch-1
Update MissionController.cc
parents
043d72c2
fbfb4e69
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/MissionController.cc
View file @
c1465d2c
...
...
@@ -283,11 +283,11 @@ void MissionController::convertToKMLDocument(QDomDocument& document)
qgcApp
()
->
toolbox
()
->
missionCommandTree
()
->
getUIInfo
(
_controllerVehicle
,
item
->
command
());
if
(
uiInfo
&&
uiInfo
->
specifiesCoordinate
()
&&
!
uiInfo
->
isStandaloneCoordinate
())
{
coord
=
QString
::
number
(
item
->
param6
())
\
coord
=
QString
::
number
(
item
->
param6
()
,
'f'
,
7
)
\
+
","
\
+
QString
::
number
(
item
->
param5
())
\
+
QString
::
number
(
item
->
param5
()
,
'f'
,
7
)
\
+
","
\
+
QString
::
number
(
item
->
param7
()
+
altitude
);
+
QString
::
number
(
item
->
param7
()
+
altitude
,
'f'
,
2
);
coords
.
append
(
coord
);
}
}
...
...
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