Hi all,
I have been experimenting with replaying nmea using the following
command

fgfs --fdm=external --nmea=file,in,60,atlas.save


the problem i have found is that if i record a flight track at ksfo all
is good and it replays as expected. 
if however I record at ydpo (tasmainia,australia) and then replay back
to flightgear the screen is stuck on loading scenery.

if i then use the following command then both terrasync and atlas keep
up with the position recorded in the nmea data

fgfs  --nmea=file,in,60,atlas.save --log-level=bulk
--atlas=socket,out,1,localhost,5500,udp
--atlas=socket,out,1,localhost,5501,udp --fdm=external

at the same time the logs show the following 

Running Main Loop
======= ==== ====
Updating time
  Current Unix calendar time = 1316298010  warp = 0
  Current GMT = 9/17/2011 22:20:10
  Current Unix calendar time = 1316298010  warp = 0
  Current GMT = 9/17/2011 22:20:10
  Current Julian Date = 2.45582e+06
  COURSE: GMT = 8/17/111 22:20:10
  March 21 noon (GMT) = 1300708800
  Time since 3/21/111 GMT = 180.431
  days = 180  hours = 22.3361  lon = 0  lst = 22.3361
  COURSE: GMT = 8/17/111 22:20:10
  March 21 noon (GMT) = 1300708800
  Time since 3/21/111 GMT = 180.431
  days = 180  hours = 22.3361  lon = -146.829  lst = 32.1247
  Current lon=0.00 Sidereal Time = 22.1027
  gst => 310.103
  Current LOCAL Sidereal Time = 31.8913 (7.89133) (diff = -0.233437)
parse nmea message
entire message = $GPGGA,221351,4106.631,S,14649.763,E,1,,,-9999,F,,,,*27

  input line = $GPGGA,221351,4106.631,S,14649.763,E,1,,,-9999,F,,,,*27
  start = $
  sentence = GPGGA
  utc = 221351
  lat = -41.1105
  lon = 146.829
  junk = 1
  junk = 
  junk = 
 altitude  = -9999
parse nmea message
entire message = $PATLA,115.80,280.0,116.80,29.0,379*6B

  input line = $PATLA,115.80,280.0,116.80,29.0,379*6B
  start = $
  sentence = PATLA
GPRMC,222010,A,4106.631,S,14649.762,E,000.0,225.0,1709111,0.000,E
GPGGA,222010,4106.631,S,14649.762,E,1,,,-9999,F,,,,
PATLA,115.80,280.0,116.80,29.0,379
GPRMC,222010,A,4106.631,S,14649.762,E,000.0,225.0,1709111,0.000,E
GPGGA,222010,4106.631,S,14649.762,E,1,,,-9999,F,,,,
PATLA,115.80,280.0,116.80,29.0,379
AICarrier: Inside Operating Box
AICarrier: Inside Operating Box
AI Manager: AI model return list size 2
Scheduling Flights for : Aircraft/757/757-UnitedAirlines.xml N816UA KORD
  Flight UNITED657:  KJFK:  Sat Sep 17 20:59:00 2011: "KLAX":  Sun Sep
18 03:00:00 2011:
  Flight UNITED4215:  KLAX:  Sun Sep 18 16:17:00 2011: "KJFK":  Sun Sep
18 21:45:00 2011:
  Flight UNITED771:  KJFK:  Mon Sep 19 01:29:00 2011: "KLAX":  Mon Sep
19 07:30:00 2011:
  Flight UNITED416:  KLAX:  Mon Sep 19 19:53:00 2011: "KJFK":  Tue Sep
20 01:25:00 2011:
  Flight UNITED4196:  KJFK:  Tue Sep 20 11:50:00 2011: "KLAX":  Tue Sep
20 17:48:00 2011:
  Flight UNITED416:  KLAX:  Wed Sep 21 19:33:00 2011: "KJFK":  Thu Sep
22 01:05:00 2011:
  Flight UNITED771:  KJFK:  Thu Sep 22 01:29:00 2011: "KLAX":  Thu Sep
22 07:30:00 2011:
  Flight UNITED4215:  KLAX:  Thu Sep 22 16:17:00 2011: "KJFK":  Thu Sep
22 21:45:00 2011:
  Flight UNITED771:  KJFK:  Fri Sep 23 01:29:00 2011: "KLAX":  Fri Sep
23 07:30:00 2011:
  Flight UNITED416:  KLAX:  Fri Sep 23 19:53:00 2011: "KJFK":  Sat Sep
24 01:25:00 2011:
  Flight UNITED255:  KJFK:  Sat Sep 24 01:29:00 2011: "KLAX":  Sat Sep
24 07:30:00 2011:
 Done 
Traffic Manager:      Flight is in progress, %=0.224838
Traffic manager: N816UA is scheduled for a flight from KJFK to KLAX.
Current distance to user: 6498.48
Updating adjusted fog parameters.
Updating light parameters.
  Sun angle = 67.1352
  ambient = 0.598634  diffuse = 0.982157  specular = 0.291869  sky =
0.991292
  Updating Sun position
  Gst = 22.1027
    t->cur_time = 1316298010
    Sun Geocentric lat = 0.036879 Geodcentric lat = 0.036879
sun angle relative to current location = 1.17168
FGTileMgr::update()
State == Running
Splash screen progress loading scenery


any thoughts on how to solve this

thanks
jason cox



------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to