Describe the bug
Plane on ground not even created due to exception. Exception is raised when while create the plane it is found that the first two position don't fullfill the condition "one in the past, one in the future".
This is due to the shortest-path algorithm inserting detailed legs along the taxiways. And then it can happen that such an inserted position also has a timestamp in the past when it is close to the first position. Shortest path insertion happens during "CalcNextPos", which will happen during aircraft create again, so all previous safeguard fail if betwenn that safeguard and actual create new information became available, that allowed to insert a shortest path.
To Reproduce
Needs an airport with good detailed taxiway layout like KLAS, KATL or the like, and quite some ground traffic.
Remove planes and have them create again and watch Log.txt.
Describe the bug Plane on ground not even created due to exception. Exception is raised when while create the plane it is found that the first two position don't fullfill the condition "one in the past, one in the future".
This is due to the shortest-path algorithm inserting detailed legs along the taxiways. And then it can happen that such an inserted position also has a timestamp in the past when it is close to the first position. Shortest path insertion happens during "CalcNextPos", which will happen during aircraft create again, so all previous safeguard fail if betwenn that safeguard and actual create new information became available, that allowed to insert a shortest path.
To Reproduce Needs an airport with good detailed taxiway layout like KLAS, KATL or the like, and quite some ground traffic. Remove planes and have them create again and watch Log.txt.
Expected behavior Planes shall be created.
Technical Info:
Log