From b2bec04733c6611070abab13261dd24fd6071624 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 6 Jan 2016 17:58:24 -0600 Subject: [PATCH] Fix acceleration path of default takeoff taxi. --- src/AIModel/AIFlightPlanCreate.cxx | 7 +++++++ 1 file changed, 7 insertions(+) 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); } -- 2.39.5