Hi all, After my problem getting an AI aircraft to appear at Melbourne's Tullamarine airport (many thanks to Melchior, Robert, Innis, and Durk), I now have a Qantas-liveried 737-300 sitting on the tarmac at YMML. My next question is, how to make it fly?
In the <trafficlist> XML file (is there a naming convention to distinguish the various files that control the AI subsystem?), I have specified the following: -------------- <?xml version="1.0" ?> <trafficlist> <aircraft> <model>Aircraft/AI/737/737-Qantas.xml</model> <livery>QAN</livery> <airline>QAN</airline> <actype>737-300</actype> <offset>10</offset> <radius>23</radius> <flighttype>gate</flighttype> <performance-class>jet_transport</performance-class> <registration>QAN01</registration> <heavy>false</heavy> <flight> <callsign>Qantas0001</callsign> <fltrules>IFR</fltrules> <departure><port>YMML</port><time>08:30:00</time></departure> <cruise-alt>300</cruise-alt> <arrival><port>YSSY</port><time>10:00:00</time></arrival> <repeat>24Hr</repeat> </flight> <flight> <callsign>Qantas0002</callsign> <fltrules>IFR</fltrules> <departure><port>YSSY</port><time>10:30:00</time></departure> <cruise-alt>310</cruise-alt> <arrival><port>YMML</port><time>12:00:00</time></arrival> <repeat>24Hr</repeat> </flight> </aircraft> </trafficlist> -------------- That is, the aircraft should depart YMML at 0830hrs, and arrive at YSSY (Sydney international) at 1000hrs. Then, it should depart YSSY at 1030hrs for the return trip. The problem is that the aircraft doesn't move from the YMML gate at 0830. Does this file have any problems that I might have missed? Are the departure/arrival times specified as local time, or should they be UTC? I noticed (thanks to Melchior's strace idea) that Flightgear looks for the file /usr/share/games/FlightGear/AI/FlightPlans/YMML-YSSY.xml. I have not created this file. Is a flightplan file required for an AI aircraft to fly? It also looks for the file /usr/share/games/FlightGear/Airports/AI//YMML/rwyuse.xml. I have not created this file. Is this file required for an AI aircraft to fly? Where can I find documentation for this file? The AI aircraft sits on the YMML tarmac at the location of the gate in the parking.xml file. I have created a very simple parking.xml file, as shown: -------------- <?xml version="1.0" ?> <groundnet> <parkinglist> <Parking index="0" type="gate" name="A" number="1" lat="S37 40.000" lon="E144 51.000" heading="180" radius="60" airlineCodes="NONE" pushBack="left" /> </parkinglist> <TaxiNodes> <node index="100" lat="S37 40.000" lon="E144 51.000" name="AI waypoint node" /> <node index="101" lat="S37 39.733" lon="E144 50.850" name="AI waypoint node" /> </TaxiNodes> <TaxiWaySegments> <arc begin="100" end="101" name="Route" /> <arc begin="101" end="100" name="Route" /> </TaxiWaySegments> </groundnet> -------------- Does one of the node need to correspond to the takeoff point on the runway, so that the AI aircraft knows how to travel from the gate to the runway? If so, where do I find that takeoff point? I checked the parking file for KSFO, and none of the nodes there corresponds to the start of a runway. I tried removing the parking.xml file, but the AI aircraft is simply drawn at the airport's origin and still doesn't move. I tried invoking FlightGear with and without the --enable-ai-models flag; no difference. What do I need to do to get the AI aircraft to fly? Regards, Greg Hawkes ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users