On Sunday 22 May 2005 17:30, Pat Manzi wrote: > Thanks Durk for the response. > > If I understand it correctly, then the waypoints I could enter via the > text file are airports that are already known.
I would actually have to look into the source code to see what is exactly supported, but I believe currently valid waypoints consist of either ariports or fixes. See data/Navaids/fix.dat.gz data/Airports/apt.dat.gz for a list of valid waypoints IIRC, VORs and NDBs are not supported, because they don't have unique IDs. > > Would it be possible to hardcode some waypoints if I go enter them > directly using the route manager? If I understand the code correctly, > the waypoints that are entered there are defined as lat/lon and alt > points (among other things), right? This would be possible, but as far as I can tell this would require some modification of the code. Currently, each identifier is checked against the master navaid/airport database, and the corresponding lat/lon positions are returned. > > As it is right now, I've got 3 different approaches I want to fly into > Stockholm Arlanda, and so if possible, I was thinking I'd just hard code > them and do the interfacing with the route manager myself. Do you think > this could work? Personally, I think the AI flightplan code is much more flexible than the original route manager code. So, if you would like to have a look at interfacing the AI flightplan reading code with the master route manager than I surely would engourage you to do so. I was actually thinking about putting this back on my todo list, but just don't have enough time in the near future to work on this. Should you decide to have a stab at this, you might want to consider moving this thread over to FlightGear-devel, as that might the more appropriate platform for coding issues. Also feel free to ask me any questions should they arise. Cheers, Durk > > Thanks, > > /Pat > -----Original Message----- > From: Durk Talsma [mailto:[EMAIL PROTECTED] > Sent: den 19 maj 2005 19:19 > To: FlightGear user discussions > Subject: Re: [Flightgear-users] Entering a series of waypoints > > On Thursday 19 May 2005 13:30, Pat Manzi wrote: > > Hello, > > > > > > > > Does anyone know if there's a way to enter a series of waypoints via > > an > > > XML config file? Something similar the Flight plans used in AI would > > be > > > great. > > Hi Pat, > > As far as I know that is not implimented yet. You can make a very > primitive > flightplan by listing a series of waypoints (with optional altitude) in > a txt > file as in: > > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > etc, etc. Suppose you save this as "myflight.txt" you would call > flightgear > using something like "fgfs --flight-plan=myflight.txt" > > What you are suggesting is indeed something I would like to implement > one day, > but this would require adding/improving Flight Management Computer (FMC) > > capabilities. > > Cheers, > Durk > > > _______________________________________________ > Flightgear-users mailing list > [email protected] > http://mail.flightgear.org/mailman/listinfo/flightgear-users > 2f585eeea02e2c79d7b1d8c4963bae2d > > > _______________________________________________ > Flightgear-users mailing list > [email protected] > http://mail.flightgear.org/mailman/listinfo/flightgear-users > 2f585eeea02e2c79d7b1d8c4963bae2d _______________________________________________ Flightgear-users mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d
