Ground Services: Difference between revisions

Jump to navigation Jump to search
Line 29: Line 29:
.  
.  


After starting FG, GroundServices goes to "standby" mode, monitoring the distance of the main aircraft to the next airport. When the distance is below 3 nm (main.minairportrange), GroundService switches to "active" mode. It reads the corresponding groundnet.xml and stores the groundnet in a graph data structure.
After starting FG, GroundServices goes to "standby" mode, monitoring the distance of the main aircraft to the next airport. When the distance is below 3 nm (main.minairportrange), GroundService switches to "active" mode. It reads the corresponding groundnet.xml and  
 
For simplification, the coordinates are projected to a 2D xy coordinate system, where all calculations are executed (The projection currently is a too simple linear projection).
 
Ground vehicles are launched as defined in AI/groundservices.xml.
Ground vehicles are launched as defined in AI/groundservices.xml.
"initialcount" vehicles of each type will be launched at their defined home location and move between the listed destinations (random groundnet nodes are used if nothing is configured).
"initialcount" vehicles of each type will be launched at their defined home location and move between the listed destinations (random groundnet nodes are used if nothing is configured).
183

edits

Navigation menu