Commit 0c985a67 authored by Thomas Gubler's avatar Thomas Gubler

flightgear: add comment about missing altitude setting

parent 31790140
......@@ -598,7 +598,10 @@ bool QGCFlightGearLink::connectSimulation()
}
flightGearArguments << QString("--lat=%1").arg(UASManager::instance()->getHomeLatitude());
flightGearArguments << QString("--lon=%1").arg(UASManager::instance()->getHomeLongitude());
// flightGearArguments << QString("--altitude=%1").arg(UASManager::instance()->getHomeAltitude());
//The altitude is not set because an altitude not equal to the ground altitude leads to a non-zero default throttle in flightgear
//Without the altitude-setting the aircraft is positioned on the ground
//flightGearArguments << QString("--altitude=%1").arg(UASManager::instance()->getHomeAltitude());
// Add new argument with this: flightGearArguments << "";
//flightGearArguments << QString("--aircraft=%2").arg(aircraft);
......
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