]> git.mxchange.org Git - flightgear.git/commit
Bugfixes and feature improvements related to AI auto flightplan generation.
authordurk <durk>
Sun, 19 Mar 2006 07:41:48 +0000 (07:41 +0000)
committerdurk <durk>
Sun, 19 Mar 2006 07:41:48 +0000 (07:41 +0000)
commit101ca14a6d4908404324569b7fbb5e2fef62092e
treeb4ebbbe8cb156ae21717bfae73756536455ee37a
parent9604277484edb668d1768150b94dbe0cf3307941
Bugfixes and feature improvements related to AI auto flightplan generation.
When AIFlightPlanCreateTaxi() function is called with the firstFlight
argument set to true, this is supposed to handle situations where the
the aircraft's timetable indicates it should have left between about 5 to
20 minutes earlier. In the previous version, all these aircraft started
taxiing from the first parking location available in the network, due
to the fact that the variable gateId was not assigned a value. In this
patch, route tracing starts from an assigned gate and the network node
following code is fast forwarded to a random location along the taxiways
to give a more realistic and natural distribution of taxiing aircraft
after startup.
    This patch further addresses some weird ballet-dancing behavior that
aircraft were showing just prior to/right after parking and which was
related to a number of more or less duplicate waypoints in the transition
from createTaxi() to createParking() to createPushBack() to createTaxi().
    Finally, a blatant typing error in the getParking() function was fixed.
src/AIModel/AIAircraft.cxx
src/AIModel/AIFlightPlan.hxx
src/AIModel/AIFlightPlanCreate.cxx
src/Airports/dynamics.cxx
src/Airports/groundnetwork.hxx