From: James Turner Date: Wed, 6 Jan 2016 23:58:24 +0000 (-0600) Subject: Fix acceleration path of default takeoff taxi. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b2bec04733c6611070abab13261dd24fd6071624;p=flightgear.git Fix acceleration path of default takeoff taxi. --- diff --git a/src/AIModel/AIFlightPlanCreate.cxx b/src/AIModel/AIFlightPlanCreate.cxx index b7a24ab1a..b396e280d 100644 --- a/src/AIModel/AIFlightPlanCreate.cxx +++ b/src/AIModel/AIFlightPlanCreate.cxx @@ -206,6 +206,13 @@ void FGAIFlightPlan::createDefaultTakeoffTaxi(FGAIAircraft * ac, wpt = createOnGround(ac, "Runway Takeoff", runwayTakeoff, airportElev, ac->getPerformance()->vTaxi()); + + pushBackWaypoint(wpt); + + // Acceleration point, 105 meters into the runway, + SGGeod accelPoint = aRunway->pointOnCenterline(105.0); + wpt = createOnGround(ac, "accel", accelPoint, airportElev, + ac->getPerformance()->vRotate()); pushBackWaypoint(wpt); }