mutability / dump1090

Dump1090 is a simple Mode S decoder for RTLSDR devices
528 stars 137 forks source link

Issue: ./dump1090 --stats --ifile testfiles/modes1.bin #192

Closed gunawanw9 closed 7 years ago

gunawanw9 commented 7 years ago

Is this normal or somewhat ...?

Wed Feb 15 17:56:02 2017 WIB  dump1090-mutability v1.15~dev starting up.
Using sample converter: UC8, integer/table path
Wed Feb 15 17:56:02 2017 WIB  Waiting for receive thread termination

Statistics: Wed Feb 15 17:56:02 2017 WIB - Wed Feb 15 17:56:02 2017 WIB
Local receiver:
  356868 samples processed
  0 samples dropped
  0 Mode A/C messages received
  2181 Mode-S message preambles received
    1218 with bad message format or invalid CRC
    963 with unrecognized ICAO address
    0 accepted with correct CRC
  -14.2 dBFS noise power
  0 messages with signal power above -3dBFS
0 total usable messages
0 surface position messages received
0 airborne position messages received
0 global CPR attempts with valid positions
0 global CPR attempts with bad data
  0 global CPR attempts that failed the range check
  0 global CPR attempts that failed the speed check
0 global CPR attempts with insufficient data
0 local CPR attempts with valid positions
  0 aircraft-relative positions
  0 receiver-relative positions
0 local CPR attempts that did not produce useful positions
  0 local CPR attempts that failed the range check
  0 local CPR attempts that failed the speed check
0 CPR messages that look like transponder failures filtered
0 non-ES altitude messages from ES-equipped aircraft ignored
0 unique aircraft tracks
0 aircraft tracks where only one message was seen
CPU load: 106.7%
  10 ms for demodulation
  6 ms for reading from USB
  0 ms for network input and background tasks
Wed Feb 15 17:56:02 2017 WIB  Normal exit.

and previous version works fine

Wed Feb 15 18:10:20 2017 WIB  dump1090-mutability v1.14-236-gc4e2cdf starting up.
Using sample converter: UC8, integer/table path
*8f4d2023587f345e35837e2218b2;
CRC: 000000
RSSI: -32.6 dBFS
Time: 533.00us (phase: 0)
DF 17: ADS-B message.
  Capability     : 7 (DR/Alert/SPI active)
  ICAO Address   : 4d2023
  Extended Squitter  Type: 11
  Extended Squitter  Sub : 0
  Extended Squitter  Name: Airborne Position (Baro Altitude)
    F flag   : odd
    T flag   : non-UTC
    Altitude : 24275 feet barometric
    Latitude : 12058 (not decoded)
    Longitude: 99198 (not decoded)
    NUCp:      7

*5d4d20237a55a6;
--- cut ---
*5d4d20237a55a6;
CRC: 000000
RSSI: -33.4 dBFS
Time: 177825.50us (phase: 0)
DF 11: All Call Reply.
  Capability  : 5 (Level 2+, airborne)
  ICAO Address: 4d2023
  IID         : II-00

Statistics: Wed Feb 15 18:12:10 2017 WIB - Wed Feb 15 18:12:10 2017 WIB
Local receiver:
  356868 samples processed
  0 samples dropped
  0 Mode A/C messages received
  465 Mode-S message preambles received
    28 with bad message format or invalid CRC
    6 with unrecognized ICAO address
    256 accepted with correct CRC
  0 messages with signal power above -3dBFS
256 total usable messages
0 surface position messages received
68 airborne position messages received
30 global CPR attempts with valid positions
12 global CPR attempts with bad data
  0 global CPR attempts that failed the range check
  12 global CPR attempts that failed the speed check
0 global CPR attempts with insufficient data
0 local CPR attempts with valid positions
  0 aircraft-relative positions
  0 receiver-relative positions
26 local CPR attempts that did not produce useful positions
  0 local CPR attempts that failed the range check
  0 local CPR attempts that failed the speed check
0 CPR messages that look like transponder failures filtered
26 non-ES altitude messages from ES-equipped aircraft ignored
1 unique aircraft tracks
0 aircraft tracks where only one message was seen
CPU load: 55.6%
  51 ms for demodulation
  9 ms for reading from USB
  0 ms for network input and background tasks
Wed Feb 15 18:12:10 2017 WIB  Normal exit.

any clue how to fix this issue? Thank you.

mutability commented 7 years ago

What behaviour did you expect? How did you capture the input file?

gunawanw9 commented 7 years ago

that's input file already there, have you try that test file again recently with dump1090-mutability v1.15~dev?

result of dump1090-mutability v1.15~dev

Local receiver:
  356868 samples processed
  0 samples dropped
  0 Mode A/C messages received
  2181 Mode-S message preambles received
    1218 with bad message format or invalid CRC
    963 with unrecognized ICAO address
    0 accepted with correct CRC
  -14.2 dBFS noise power
  0 messages with signal power above -3dBFS
0 total usable messages

versus result of dump1090-mutability v1.14-236-gc4e2cdf

Local receiver:
  356868 samples processed
  0 samples dropped
  0 Mode A/C messages received
  465 Mode-S message preambles received
    28 with bad message format or invalid CRC
    6 with unrecognized ICAO address
    256 accepted with correct CRC
  0 messages with signal power above -3dBFS
256 total usable messages

is this result mean v1.14 better than v1.15?

mutability commented 7 years ago

Oh, that's an old 2MHz testfile, it won't work with the 2.4MHz demodulator. I'll remove it.