Thanks Georg.

This will be very useful as I'm anticipating doing some more flightplans soon for another project (FGLive-4-KOSH) with Arnt.

I have sent NZWorking-AI.zip off list... with your experience I don't think you'll need full instructions on how to edit your preferences.xml

...surfice to say the zip-stored-paths are relative to the FG directory ( the one with data,bin & docs sub-directories) ... I included the FerryBoat1 model for completeness.

Cheers
:-D ene


PS Curt... I like so many just hit the reply but... if it causes spam problems..well its only a Hotmail account and is easy to change.. mind you their spam filter seems quite good.... on the positive side it wasn't my POP3 account.... but no excuses... point accepted with humility.


From: Georg Vollnhals <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [Flightgear-users] [EMAIL PROTECTED]
Date: Thu, 25 May 2006 15:21:47 +0200

dene maxwell schrieb:
Hi Georg....


... I refer to

http://www.interislander.blogspot.com/
Thanks!



2. why didn't you use the FGTools functions (AI page) for some of the work you obviously did by hand? See manual or ask me :-)

I didn't think 098a would support the input files required...but I did use FGTools very extensively...


Dene,

I am writing this on the list as some other user (on Windows) might be interested.

As 098a does not support creating *.csv logfiles (as you tell me), do it yourself with a simple texteditor!
How this is done is explained in the last part of this message.

---------------------------------------------------------------------------
BUT FIRST AN EXAMPLE HOW ALL WORKS with a normal *.csv logfile:

This is a sample of a looong automatically created csv-file I used to make an AI file from, logging a C172 flightpattern around EDDW

Time,Longitude,Latitude,Altitude,Roll,Pitch,Heading,Speed
51.1833,8.804636726,53.0472589,15.74750528,-0.2096236382,0.320089886,264.145706,0.05281214575
52.1833,8.804636339,53.04725886,15.7474581,-0.1977411975,0.3292465916,264.1879917,0.06696391264
53.1833,8.804634928,53.04725895,15.74742986,-0.2264046498,0.3565201565,264.1958376,0.3866295215

You see, it was logged every second to have a quite smooth behaviour of the AI aircraft.

This is the AICessPlatz.xml in the data\AI folder, FGTools created:
<?xml version="1.0"?>
<PropertyList>
<scenario>
<entry>
<callsign>AIVehicle</callsign>
<type>aircraft</type>
<class>jet</class>
<model>Models/Aircraft/c172-dpm.ac</model>
<flightplan>CessPlatz.xml</flightplan>
<repeat>1</repeat>
</entry>
</scenario>
</PropertyList>


This is the beginning of the
AI-Flightplan CessPlatz.xml in the AIFlighPlans folder, FGTools created:
<?xml version="1.0"?>
<PropertyList>
<flightplan>
<wpt>
<name>51.1833</name>
<lat>53.0472589</lat>
<lon>8.804636726</lon>
<alt>15.74750528</alt>
<ktas>0.05281214575</ktas>
<on-ground>false</on-ground>
</wpt>
<wpt>
<name>52.1833</name>
<lat>53.04725886</lat>
<lon>8.804636339</lon>
<alt>15.7474581</alt>
<ktas>0.06696391264</ktas>
<on-ground>false</on-ground>
</wpt>
<wpt>
<name>53.1833</name>
<lat>53.04725895</lat>
<lon>8.804634928</lon>
<alt>15.74742986</alt>
<ktas>0.3866295215</ktas>
<on-ground>false</on-ground>
</wpt>

And FGTools "installs" your AI-scenario in preferences.xml and activates AI-scenerios.

----------------------------------------------------------------------

SO, HOW CAN YOU USE these functionallity from FG 0.9.8?
CREATE YOUR *.csv file yourself!
Take any simple texteditor and create a normal textfile like "MyFerry.csv"

OK, you won't have to fill in all data but replace unused with a placeholder "0".

So for your ferry you would write
Time,Longitude,Latitude,Altitude,Roll,Pitch,Heading,Speed
1,[Longitude],[Latitude],[Altitude],0,0,0,1
2,[Longitude],[Latitude],[Altitude],0,0,0,10
3,[Longitude],[Latitude],[Altitude],0,0,0,15
4,...

There must be no specific time intervalls, just fill in all the points of the route you have got one after another and call the "time" 1,2,..

Save your file, fire FGTools, go to the AIpage and start with "Load *.csv logfile(1)". For the rest look into the *.pdf manual!
Ask me, if you have any further problems.

This will save you *a lot* of time!!! as you only have to write the first file with your data (time-counter,lat,lon,alt).

Might be a help for your next AI-scenerio!

Regards
Georg



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

_________________________________________________________________
Read the latest Hollywood gossip  @  http://xtramsn.co.nz/entertainment



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to