--- Durk Talsma <[EMAIL PROTECTED]> wrote:
> Hi Shelton,
>
> Well, I guess David Luff and David Culp have already
> explained quite a bit. If
> you're interested in helping with AI traffic
> generation, you're mostly
> welcome.
<snip>
This may be of some interest. I've created an xml file
in the spirit of David Culp's AI traffic pattern
scenarios. The file will make a Cessna 172 takeoff
and fly a tight pattern from runway 28R at KSFO. The
first set of code goes into file:
$FG_ROOT/data/Data/AI/aircraft_demo.xml
and the next set into a file to be named
KSFO_TandG28R.xml in directory:
$FG_ROOT/data/Data/AI/FlightPlans/
Of course the following line in preferences.xml must
be uncommented.
<!-- scenario>aircraft_demo</scenario -->
I'm a novice with XML, so the calls I've created in
KSFO_TandG28R.xml may not be entirely right. However
it does seem to work. You can try taking off and
chasing the AI plane around the pattern. But
remember, as always, See and Avoid!
Mike
*******************************************************
<entry>
<callsign>NFG123</callsign>
<type>aircraft</type>
<class>jet_transport</class>
<model>Aircraft/c172p/Models/c172p.xml</model>
<flightplan>KSFO_TandG28R.xml</flightplan>
<repeat>1</repeat>
</entry>
*******************************************************
<?xml version="1.0"?>
<!-- Set for touch and gos in C172p from/to KSFO on
28R
The departure can be found at
http://www.airnav.com/airport/KSFO
Format:
<name> Waypoint name. When a waypoint
named END is reached
the AI airplane will delete
itself.
<lat> latitude, degrees (-90 to 90)
<lon> Longitude, degrees (-180 to 180)
<alt> altitude above sea level, feet
<crossat> Crossing altitude, feet
<ktas> Knots true airspeed
<on-ground> set true if on the ground
<gear-down> set true for gear down, false for
gear up
<flaps-down> set true for flaps down, false for
flaps up
-->
<PropertyList>
<flightplan>
<wpt>
<name>28R</name>
<lat>37.61353</lat>
<lon>-122.357140</lon>
<alt>11.0</alt>
<ktas>20</ktas>
<on-ground>true</on-ground>
<gear-down>true</gear-down>
</wpt>
<wpt>
<name>accelerate</name>
<lat>37.61498</lat>
<lon>-122.360384</lon>
<alt>11.0</alt>
<ktas>48</ktas>
<on-ground>true</on-ground>
<gear-down>true</gear-down>
</wpt>
<wpt>
<name>rotate</name>
<lat>37.61630</lat>
<lon>-122.363628</lon>
<alt>11.0</alt>
<ktas>60</ktas>
</wpt>
<wpt>
<name>CrossWind</name>
<lat>37.6400</lat>
<lon>-122.357138</lon>
<ktas>100</ktas>
<crossat>1100.0</crossat>
</wpt>
<wpt>
<name>Downwind</name>
<lat>37.64000</lat>
<lon>-122.36000</lon>
<ktas>100</ktas>
<crossat>1100.0</crossat>
</wpt>
<wpt>
<name>Base</name>
<lat>37.6000</lat>
<lon>-122.28330</lon>
<ktas>80</ktas>
<crossat>600.0</crossat>
</wpt>
<wpt>
<name>28R</name>
<lat>37.61353</lat>
<lon>-122.357138</lon>
<crossat>13.0</crossat>
<ktas>50</ktas>
<on-ground>true</on-ground>
</wpt>
<wpt>
<name>End</name>
<lat>37.61354</lat>
<lon>-122.357140</lon>
<alt>11.0</alt>
<ktas>50</ktas>
<on-ground>true</on-ground>
</wpt>
<wpt>
<name>EOF</name>
</wpt>
</flightplan>
</PropertyList>
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d