Commit fbfb4e69 authored by yaoling's avatar yaoling Committed by GitHub

Update MissionController.cc

parent b0198d7a
......@@ -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(),'g',10) \
coord = QString::number(item->param6(),'f',7) \
+ "," \
+ QString::number(item->param5(),'g',10) \
+ QString::number(item->param5(),'f',7) \
+ "," \
+ QString::number(item->param7() + altitude);
+ QString::number(item->param7() + altitude,'f',2);
coords.append(coord);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment