Hi,

Way cool app, ya'll, but I'm having some problems with airport ids.

Attempting to run ./fgfs with any --airport-id option causes errors as 
shown below.
The runway information is bad, I'm guessing.  I am using base 7.11.pre1 
(the only one supported by the latest cvs sources that I dled).  
Downloaded everything from CVS again and recompiled.  Am still getting 
the same error.

I'm new at this and am unsure how to even begin.  I've tried KJFK, KDCA 
(washington, DC) and others to the same effect.  If I use the default 
airport (KSFO), things start OK:

*KSFO info is:
NewAirportInit KSFO
Attempting to set starting position from runway code KSFO heading 270
Runway 01L heading = 27.7 diff = 117.7
Runway -01L heading = 207.7 diff = 62.3
Runway 01R heading = 27.71 diff = 117.71
Runway -01R heading = 207.71 diff = 62.29
Runway 10L heading = 117.9 diff = 152.1
Runway -10L heading = 297.9 diff = 27.9
Runway 10R heading = 117.9 diff = 152.1
Runway -10R heading = 297.9 diff = 27.9
closest runway = 10L + 180
runway =  -122.375, 37.6211 length = 1808.99 heading = 117.9
Position for KSFO is (-122.357, 37.6135) new heading is 297.9
Searching for airport code = KSFO
idx = 11133
Position for KSFO is (-122.375, 37.619)

*KDCA info is:
NewAirportInit kdca
Attempting to set starting position from runway code kdca heading 270
closest runway =  + 0
runway =  278224, 5.39338e-315 length = 8.89328e-315 heading = 180
Position for kdca is (277864, 4.52183e-05) new heading is 2.96439e-321
Searching for airport code = kdca
idx = 9802
Position for kdca is (-77.0377, 38.8521)

What am I doing wrong? TIA

BTW, how do I build a debug version of FGFS and how can I load a source 
file to examine in GDB. 8-)

Thanks! Ima


vv----- some log information related to kdca

[localhost:fgdev/src/flightgear] root# src/main/fgfs --airport-id=kdca
Using Mac OS X hack for initializing C++ stdio...
FlightGear:  Version 0.7.11pre1
Built with GNU C++ version 2.95

Scanning for root: command line
fg_root = /Users/joeh/Desktop/FlightGear/fgdev/lib/base
Reading global preferences
Finished Reading global preferences
Reading default aircraft: c172 from 
/Users/joeh/Desktop/FlightGear/fgdev/lib/base/Aircraft/c172-set.xml
Processing command line arguments
Finished command line arguments
Opening a window: 800x600
Rage 128 OpenGL Engine
Max texture size = 1024
Depth buffer bits = 16
NewAirportInit kdca
Attempting to set starting position from runway code kdca heading 270
closest runway =  + 0
runway =  278224, 5.39338e-315 length = 8.89328e-315 heading = 180
Position for kdca is (277864, 4.52183e-05) new heading is 2.96439e-321
Searching for airport code = kdca
idx = 9802
Position for kdca is (-77.0377, 38.8521)
Initializing Time
Current greenwich mean time = Wed Jun 12 23:44:42 2002

Current local time          = Wed Jun 12 19:44:42 2002

<snip>

Panel visible = 0
Loading deferred texture
Tile not found (Ok if initializing)
Attempting to schedule tiles for bogus latitude and
longitude.  This is a FATAL error.  Exiting!
scheduling needed tiles for 277864 4.52183e-05
load() base = /Users/joeh/Desktop/FlightGear/fgdev/lib/base/Scenery
Loading tile 
/Users/joeh/Desktop/FlightGear/fgdev/lib/base/Scenery/w060n00/w056n00/2037376
Tile not found (Ok if initializing)
load() base = /Users/joeh/Desktop/FlightGear/fgdev/lib/base/Scenery
Loading tile 
/Users/joeh/Desktop/FlightGear/fgdev/lib/base/Scenery/w060n00/w056n00/2037384
Refreshing timestamps for 277864 0.0625
Attempting to schedule tiles for bogus latitude and
longitude.  This is a FATAL error.  Exiting!
scheduling needed tiles for 277864 4.52183e-05
Tile not found (Ok if initializing)
load() base = /Users/joeh/Desktop/FlightGear/fgdev/lib/base/Scenery
Loading tile 
/Users/joeh/Desktop/FlightGear/fgdev/lib/base/Scenery/w060s10/w056s01/2037369
Updating light parameters.
   Sun angle = 117.739
   ambient = 0.15  diffuse = 0  sky = 0.09
Tile not found (Ok if initializing)
load() base = /Users/joeh/Desktop/FlightGear/fgdev/lib/base/Scenery
Loading tile 
/Users/joeh/Desktop/FlightGear/fgdev/lib/base/Scenery/w060n00/w056n00/2037385


My gunzipped default.apt airport information has KDCA as
A KDCA  38.852087 -077.037712     16 CYN Washington National

runways.mk4 has (around KDCA, unsure what the file's structure is):

KDCA

No airports except the default work for me.




_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to