Commit graph

714 commits

Author SHA1 Message Date
antirez fed415b699 Show 16 bit magnitude value with --debug. 2013-01-07 00:29:35 +01:00
antirez 0a7c5c2e2e Threads locking model fixed (reliable --ifile). 2013-01-06 22:56:32 +01:00
antirez c653e0e95d Added a new --onlyaddr option to just output ICAO addresses. 2013-01-06 17:09:31 +01:00
antirez b3945d1b4f Use 16 bit for the magnitude vector to improve sensitivity.
As @keenerd noted on ##rtlsdr, using an 8 bit magnitude vector is not
enough in order to distinguish every different I/Q pair.

With this commit a few more messages with good CRC are detected.
2013-01-06 16:54:54 +01:00
antirez 417cab5fda Improved message detection and --stats option.
The demodulation algorithm now only skips the current message if the
CRC is valid, this improves the amount of messages detected with good
CRC by ~ 4% since sometimes we are just a few samples out of sync.

This also improves the amount of messages that can be fixed.

The --stats option was added in order to better evaluate how the
algorithm performs on the same input after some change. So if you run
the program with both --ifile and --stats no Mode S message is logged
at all, but at the end of the processing the program shows you the
amount of messages decoded with good, bad crc, bit corrections, valid
preambles and so forth.
2013-01-06 15:13:40 +01:00
antirez 3833673f3f Git ignore the right executable name. 2013-01-05 21:42:26 +01:00
antirez f01324cea4 Interactive mode: new switch --interactive-rows for max # of rows. 2013-01-05 21:41:09 +01:00
antirez d974a4db90 Everything renamed dump1090 (was mode1090). 2013-01-05 20:00:46 +01:00
Steve Markgraf c059d01feb Makefile: use pkgconfig instead of hardcoded paths 2013-01-05 20:00:42 +01:00
antirez f01670e425 Use 1.408 factor to create the magnitude look up talbe.
Previously 1.4 was used that prevented to use the full 0-255 scale.
Thanks to @keenerd for reporting this issue.
2013-01-05 17:03:03 +01:00
antirez d709a21f4f TODO list updated. 2013-01-05 16:56:25 +01:00
antirez cae1d0cda1 Fixed errors and typos in --help. 2013-01-05 16:46:08 +01:00
antirez 1971ba9706 --raw output format is now compatible with adsbhub. 2013-01-05 14:30:23 +01:00
antirez 7ca5a4b3a4 Initial commit of Dump1090, a simple Mode S decoder. 2013-01-05 13:52:25 +01:00