Re: [Flightgear-devel] script for building flight plans like

2006-05-01 Thread George Patterson
On Tue, 2006-04-18 at 12:36 +0200, Sébastien MARQUE wrote:
 hello,
 
 I've written perl script to build flight plans in fgfs some weeks ago:
 http://seb.marque.free.fr/fichiers/scripts/perl/plandevol-eng
 
 thank you very much
 best regards
 seb


Hi Seb, 

I have been giving your script a good going over and Noticed in
FlightGear that the distance from was 19550nm (approximately). I
generated the following flight plan for KSFO to KRNO.

$ cat fp-KSFO-KRNO
OAK
CC
TZZ
SA
MCC
HNW
SWR
KRNO

Distance of WPTs from KSFO (rounded to the nearest nm)

OAK  9nm
CC7820nm!!
TZZ 51nm
SA  63nm
MCC 77nm
HNW   5708nm!!
SWR136nm
KRNO   166nm

Could someone verify if the script is spitting out the wrong list of way
points or that Flightgear CVS is picking up the navaids on the other
side of the planet. Other flights sound about right, eg. KDEN to KASE
(thanks for that one Funkapus).

I have included the output of the your script as it appeared on screen
at the end of my email.

Seb, Anyway thanks for a great little script.

Regards


George

$ bin/plandevol-eng -d KSFO -a KRNO

Code - Complete name
| Frequencies| Heading | Course/RNW | Distance in nm
KSFO - San Francisco Intl
| NAV 116.8  | 49  | 32 | 10
OAK - Oakland VORTAC
| NAV 116.8  | 25  | 8  | 8
| ADF 335| 25  | -- | 13
CC - Kanan NDB
| ADF 335| 30  | -- | -1
| NAV 116.4  | 30  | 13 | 22
TZZ - Travis VOR
| NAV 116.4  | 63  | 46 | 1
| ADF 356| 63  | -- | 13
SA - Execc NDB
| ADF 356| 27  | -- | 2
| NAV 109.2  | 27  | 10 | 13
MCC - Mc Clellan VOR-DME
| NAV 109.2  | 84  | 67 | 18
| NAV 115.5  | 84  | 67 | 13
HNW - Hangtown VOR-DME
| NAV 115.5  | 39  | 22 | 13
| NAV 113.2  | 39  | 23 | 22
SWR - Squaw Valley VOR-DME
| RW 16R/34L | 51  | RW 16R/34L | 30
| RW 16L/34R | 51  | RW 16L/34R | 30
| RW 07 /25  | 51  | RW 07 /25  | 30
| ILS 110.9  | 51  | RW 16R | 30
KRNO - Reno Tahoe Intl

total distance: 177 nm (direct flight: 167)




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] script for building flight plans like

2006-04-05 Thread Sébastien MARQUE

hello,

i've written perl script to build flight plans in fgfs
http://seb.marque.free.fr/fichiers/scripts/perl/plandevol-eng

the goal was to make a very light single file appli to give enough 
informations to go from a point to another following a route composed by 
navaids. it includes the sid and star procedures with the good files 
installed (the xpgoodway.com team let us the use of them) in 
$FGROOT/Navaids/, the correction for slave deviation of NAV, can write 
the route in a file usable by --flight-plan option of fgfs, use $FGROOT 
environnement variable, and different things like that (./plandevol-eng 
--help for help).


It doesn't care about fuel consumption, ete/eta, either wind correction.

I worked as I could to translate it in english but maybe some of you 
will consider my english as sh... ;)


ok this is a point. an other point is that I submitted this script in 
the AVSim/FlightGear forum and i've been asked to translate it from perl 
to nasal, to be used directly in the fgfs frontend. as i am very new in 
nasal, i'm trying to learn all functions yet implemented in nasal from 
fgfs sources. but it will take a while (as i'm not a programmer too), so 
if anybody is ok to help, it would be with great pleasure ;)


yet another point! i've made this other script to help me in the choice 
of the airport to reach. indeed it shows the airports which are on a 
circle around my aircraft (in this script, comments are only in french, 
sorry):

http://seb.marque.free.fr/fichiers/scripts/perl/ballade

maybe it could be cool to implement this in nasal too.

all of these scripts are under gpl license off course.

bye
seb


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel