AI Traffic: Difference between revisions

Jump to navigation Jump to search
1,245 bytes added ,  24 January 2009
Line 324: Line 324:
Although a google earth snapshot will usually give a good reference for the actual location of airport parkings, it still doesn't give much information about some of the logical aspects of the parking infrastructure. In particular, information about gate names / airline operations is not provided. Typically, this information is hard to find, but can be compiled from various sources, including wikipedia, random airport diagrams published on the net, in flight airline magazines, etc. etc. In other words, be creative!
Although a google earth snapshot will usually give a good reference for the actual location of airport parkings, it still doesn't give much information about some of the logical aspects of the parking infrastructure. In particular, information about gate names / airline operations is not provided. Typically, this information is hard to find, but can be compiled from various sources, including wikipedia, random airport diagrams published on the net, in flight airline magazines, etc. etc. In other words, be creative!


== Creating the network ==
=== Creating the network ===
=== Startup locations ===
Once you have the reference material, it's time to start building the ground
network. I typically start by placing all the parkings first. There are two
ways to do this.
# Using the mouse, choose [insert|Startup Location] from the main menu. This will create a new startup location. Then left-click on it and drag it to its desired location.
# Move the mouse to the location where you want to place the startup location and press the 's' key on the keyboard. This places the startup location directly where the mouse is located.


=== AI Network Nodes ===
The current documentation describes the procedure for the TaxiDraw NEW_GUI_CODE branch, which is rather drastically different from the procedure used by the original taxidraw, previously documented here. This section describes some of the general procedures involved in building a ground network.  
Next you want to insert the AINodes, without connecting them yet. The
procedure is basically the same as placing the startup locations. Either
select [Insert| Add AI Network Node ] from the menu, or move the mouse to the
location where you want to place the node. Press the 'n' key to actually add
the node.  


=== Connecting the nodes: Drawing the network ===
Note: export your work regularly: Although groundnetwork editing capabilities have improved dramatically, this part of TaxiDraw is still somewhat separate from the rest of the code, and ground networks are not automatically saved together with the project. When exporting, taxidraw askes wether the ground network should be saved directly into flightgear's data directory.  
Once you are finished adding all the nodes, and startup locations, it's time
to connect the nodes . This is the time to save your work and MAKE A BACKUP,  
as the nodes connection code is not entirely stable yet.  


Connecting nodes can be done by switching the editor to arcing mode, by
pressing the 'm' key. The edit mode of taxidraw is indicated in the lower
right corner of the status bar. After pressing 'm' it should read ARC. If you
need to switch back to the standard edit mode press 'm' again.


Making sure we are still in "ARC" mode, select the first node or parking 
==== Set up a rough outline ====
you want to connect to the network by clicking on it. The node you have
clicked will be selected, and a red line with an arrow symbol will be drawn
between this node and the mouse cursor. Now, select the second node that you
wish to connect this node to. Click it with the mouse, and the red line will
now be drawn between the the two nodes. You have created a taxiroute. Now
repeat this process for all the nodes you want to connect.


Note that taxi segments are unidirectional. If you want to create
To make best use of the background image, right click, choose the "view" menu, and unselect "taxiways", this way, all network drawing can be based on the real airport location. First, select the "Insert startup location" edit mode. This way, each left mouse click will place a startup location at the position of the mouse cursor. Once the major startup locations have been placed, switch back to "selection" mode, by clicking the little arrow button.  
bidirectional taxiways, make sure you not only connect node "1" to node "2"  
but also to connect node "2" to node "1".  


Second, notice also that once you have connected two nodes to each other, and  
Next, start editing all the relevant startup location parameters. Parking heading and radius values can be edited by dragging the little read heading, or one of the four black radius handles, once the parking is selected. Although this usually works for setting up a rough draft, these parameters can directly be changed in the properties dialog. If the properties dialog is not visible, press [cntrl-p] to bring it up. It is possible to select multiple startup locations by pressing the shift key while selecting, and the parameters for each selected startup location can be changed at the same time. This is a power feature for editing the parameters of a whole series of parking locations, and also for equating and orienting gate radius and heading.
want to create a second taxiway that starts at the node that the previous
 
node ended, you have to select this node again, to become the first node in
With the startup locations in place, select one of them. The next step will be to connect this parking area to each runway end. After selecting the parking, click on the "insert bidirectionally connected network nodes" (the two green dots icon), and start drawing. Place nodes at strategic locations, such as intersections, corners, and arcs. finally, place one node at the center of one of the runways. Once this is finished, one gate is connected to one end of one runway. The next job is to extend the network by connecting more gates and more runways.
the next taxiway.
 
Create a second branch from the existing route, which goes to another runway. To do so, press [cntrl-a] to deselect all objects. Then, select the point where you want to branch off from. Select this point using a left mouse click, while holding down the shift key. Since TaxiDraw is still in node connect mode, simply left-clicking would have resulted in placing a new node. With this node selected, continue drawing. Repeat this procedure until all runways are connected.
 
Then, start adding the additional gates to the network. Press [cntrl-a] to deselect all objects. Then select a gate by pressing [shift-left mouse, and start drawing unil the the gate in question is one segment away from being connected. Then, [shift left-click] the network node that this route segment should be connected to, and make sure that the correct node is selected. Then, right click, and select "connect nodes bidirectionally" from the AI nodes menu.
 
Repeat this procedure until all parking locations are connected to each runway.
 
 
==== Refining the network: Set OnRunway points ====
 
==== Refining the network: Set Holding points ====
 
==== Refining the network: Pushback routes ====


== Editing the startup location parameters ==
== Editing the startup location parameters ==
117

edits

Navigation menu