anything
AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: Possible bug  (Read 4090 times)

0 Members and 3 Guests are viewing this topic.

msteen

  • New Member
  • *
  • Posts: 30
Possible bug
« on: December 16, 2008, 11:03:40 AM »
I've noticed a possible bug i Radar Box. The software is ANRB20 date 2008.08.19

Look at this output from ANRB15 date 2008.03.19

ENKB,MSG,3,0,0,47835E,0,2008/12/16,05:30:55.017,2008/12/16,05:35:55.017,CNO2302,02725,127,248,63.1014,7.7534,3328,,0,0,0,0
ENKB,MSG,3,0,0,47835E,0,2008/12/16,05:30:55.017,2008/12/16,05:35:55.017,CNO2302,02750,127,248,63.1013,7.7529,3392,,0,0,0,0

And from ANRB20

ENKB,MSG,3,0,0,47835E,0,2008.12.16,05:33:09.078,2008.12.16,05:38:09.078,CNO2302,07300,246,129,63,0573,7,6945,1280,,0,0,0,0
ENKB,MSG,3,0,0,47835E,0,2008.12.16,05:33:19.375,2008.12.16,05:38:19.375,CNO2302,07500,261,134,63,0495,7,7140,1088,,0,0,0,0

LAT/LON seems to be messed up. In the version I'm running (1.5) latitude and longitude is in the file as 63.1014,7.7534, (in this format), but in the new version, it is ,63,0573,7,6945, (format) and it's messing up my parser. Latitude is divided in 63 and longitude is beeing 0573, as there is a comma between them, and my software is written to read the normal format.

Hoping this could be checked and resolved before the update is released (waiting for this, as I can't use that software at the present time, as only aircraft with callsign is beeing outputed on port 3003).

tarbat

  • ShipTrax Beta Testers
  • Hero Member
  • *
  • Posts: 4219
    • Radarbox at Easter Ross
Re: Possible bug
« Reply #1 on: December 16, 2008, 12:30:45 PM »
Strange.  Addons designed for the SBS-1 work okay with the port 30003 output from Basestation v2.0.  For example, sbsplotter.

I would want port 30003 output retained as being compatible with SBS-1 addons.  This is what I see on port 30003 from BS v2.0 (using sbssim to capture):
MSG,3,0,0,4005BF,0,2008/12/16,12:34:05.979,2008/12/16,12:39:05.979,BAW193,34000,506,328,57.5700,-5.5668,0,6462,0,0,0,0
MSG,3,0,0,392F2D,0,2008/12/16,12:34:08.056,2008/12/16,12:39:08.056,AFR084,33975,504,335,58.2978,-5.6207,0,0663,0,0,0,0
« Last Edit: December 16, 2008, 12:36:02 PM by tarbat »

DaveReid

  • Hero Member
  • *****
  • Posts: 1815
    • Heathrow last 100 ADS-B arrivals
Re: Possible bug
« Reply #2 on: December 16, 2008, 02:25:16 PM »
Look at this output from ANRB15 date 2008.03.19

ENKB,MSG,3,0,0,47835E,0,2008/12/16,05:30:55.017,2008/12/16,05:35:55.017,CNO2302,02725,127,248,63.1014,7.7534,3328,,0,0,0,0
ENKB,MSG,3,0,0,47835E,0,2008/12/16,05:30:55.017,2008/12/16,05:35:55.017,CNO2302,02750,127,248,63.1013,7.7529,3392,,0,0,0,0

And from ANRB20

ENKB,MSG,3,0,0,47835E,0,2008.12.16,05:33:09.078,2008.12.16,05:38:09.078,CNO2302,07300,246,129,63,0573,7,6945,1280,,0,0,0,0
ENKB,MSG,3,0,0,47835E,0,2008.12.16,05:33:19.375,2008.12.16,05:38:19.375,CNO2302,07500,261,134,63,0495,7,7140,1088,,0,0,0,0

Commas instead of decimal points, and dots instead of slashes in dates, sound like a Windows locale issue to me.
This post has been scanned for any traces of negativity, bias, sarcasm and general anti-social behaviour

msteen

  • New Member
  • *
  • Posts: 30
Re: Possible bug
« Reply #3 on: December 16, 2008, 03:02:13 PM »
Look at this output from ANRB15 date 2008.03.19

ENKB,MSG,3,0,0,47835E,0,2008/12/16,05:30:55.017,2008/12/16,05:35:55.017,CNO2302,02725,127,248,63.1014,7.7534,3328,,0,0,0,0
ENKB,MSG,3,0,0,47835E,0,2008/12/16,05:30:55.017,2008/12/16,05:35:55.017,CNO2302,02750,127,248,63.1013,7.7529,3392,,0,0,0,0

And from ANRB20

ENKB,MSG,3,0,0,47835E,0,2008.12.16,05:33:09.078,2008.12.16,05:38:09.078,CNO2302,07300,246,129,63,0573,7,6945,1280,,0,0,0,0
ENKB,MSG,3,0,0,47835E,0,2008.12.16,05:33:19.375,2008.12.16,05:38:19.375,CNO2302,07500,261,134,63,0495,7,7140,1088,,0,0,0,0

Commas instead of decimal points, and dots instead of slashes in dates, sound like a Windows locale issue to me.

I'll check this.. The setup is a program written in PHP and compiled with bambalam php compiler. This program reads the output from 30003 and writes excactly this output to a file. And every 5 minutes, the file is uploaded with ftp to my server. The same program is used on my computer, which does the same. And the files are as expected when recieved on the server.

Anyone knows if there exists another program like this ? That can read the output, and upload this to a server of your choice ? I'm planning on opening up the airpics.com flightwatch when the product is ready to be used, and are working well. So that radar box and sbs users could upload their data, and can go back and watch their recorded flights on the map and more.

Here is an example on what the thing could do. I'm still waiting for my new antenna and a place to put it, so I don't have many messages on this one, but you can see an Boeing 737 from SAS on it's final approach to Kvernberget. When I have several more messages from the aircraft, this could be fine.

http://www.mrt.as/fw/flightwatch.php?day=16&month=12&year=2008&zoom=10&callsign=CNO2303