Commit Graph

89 Commits

Author SHA1 Message Date
expvintl f014f604ae 添加 .gitea/workflows/build.yaml
构建Dump1090 / build (push) Failing after 3m8s
2024-06-08 17:36:53 +08:00
antirez 0c3bb23eb4 Fix json when metric units are set. 2024-01-21 10:54:50 +01:00
antirez 5579c4afe2 Reconcile magnitude scaling comment with code. 2024-01-21 10:06:19 +01:00
antirez de61bd564f OSM: comment a few spots in the javascript. 2020-02-03 23:45:23 +01:00
antirez 115a77445e OSM: create closure for selectPlane callback. 2020-02-03 23:37:18 +01:00
antirez db9f5f34a3 --loop option to read input file again and again. 2020-02-03 16:15:05 +01:00
antirez 07d194bbd5 OSM: ability to select a plane. 2020-02-02 23:26:08 +01:00
antirez e328c75010 OSM: fix icon rotation. 2020-02-02 23:03:29 +01:00
antirez 7df4e87994 OSM: porting to Open Street Map, basic features. 2020-02-02 23:03:15 +01:00
antirez bf1f711166 When --ifile is used, read the file in a loop. 2020-02-02 18:17:45 +01:00
antirez 0b5a58832d Merge branch 'master' of github.com:antirez/dump1090 2020-01-29 11:19:36 +01:00
Yuval Adam d4be3b8a25 Merge pull request #110 from tyrower/master
Update a dead link & typo
2017-01-09 10:57:12 +02:00
Alan McCullagh bceff9fc2a Update deadlink & typo
Updated the current URL for Foster "Tracking Aircraft With GNU Radio"
pdf & 1 correction typo.
2017-01-09 02:02:26 +01:00
Yuval Adam 823631979b Merge pull request #76 from xmw/master
Add libs to LDLIBS and leave LDFLAGS untouched
2015-03-10 16:03:18 +02:00
Michael Weber 45856db3ee Add libs to LDLIBS and leave LDFLAGS untouched. $(shell ) only evaluates once. 2015-03-10 14:49:14 +01:00
Yuval Adam f43777bdc4 Merge pull request #73 from skreuzer/fbsd
Makefile updates for FreeBSD porting
2015-03-05 20:44:10 +02:00
Steven Kreuzer 36cec38231 Rename the LIBS variable to LDFLAGS
Change the assignment operator of CFLAGS and CC to be '?='
2015-03-04 14:16:43 +00:00
Yuval Adam ae736c147d Merge pull request #72 from fdb/add-cors-header
Allow cross-site HTTP requests to data.json.
2015-03-03 16:59:18 +02:00
Frederik De Bleser 0fe347c8f3 Allow cross-site HTTP requests to data.json. 2015-03-03 14:43:35 +01:00
Karel Heyse 4c53e25143 typo in README.md 2015-02-05 12:52:07 +02:00
antirez 48a14ab697 Better mark different message parts in dump output. 2014-09-23 22:16:03 +02:00
antirez aecc86fa00 Fix --debug option.
It only showed messages processed after the phase correction, because of
a programming error.
2014-09-19 23:17:35 +02:00
antirez 53cca39ed5 Link MalcolmRobb from README. 2014-04-29 23:04:01 +02:00
antirez fccf6e2e9e In debug mode log when accept fails. 2013-12-15 22:04:02 +01:00
antirez 4c16e14e41 Free the client on best effort write(2) short write. 2013-12-15 21:28:35 +01:00
antirez 0219f927dd Networking layer speedup and refactoring in --net-only mode.
The networking layer is still a toy however now there is not a blocking
sleep when we need to wait to process for new clients, but a basic form
of multiplexing is used to signal when at least one client needs some
care.

The code was also partially refactored, but more work is needed to make
it more straightforward.
2013-12-15 21:17:26 +01:00
antirez 7d03c180a0 modesFreeClient() optimized to find new maxfd faster. 2013-12-14 22:42:54 +01:00
antirez eec5a6989f Constant replaced with macro MODES_NET_SERVICES_NUM. 2013-12-14 22:38:39 +01:00
antirez 38ed7698b3 SIGWINCH patch code style conformed to dump1090. 2013-12-14 20:20:53 +01:00
Jon Williams f18180fef4 Dynamically size terminal using SIGWINCH 2013-12-13 10:58:40 -05:00
antirez acecc6d79b Fixed typo in --help output for --enable-agc.
Thanks to Sanjeev Gupta for reporting.
2013-04-29 10:10:58 +02:00
antirez 848fd66e2c Fix incorrect extraction of vert_rate_sign.
See issue #26. Thanks to @vk1et for reporting and fixing.
2013-04-29 10:06:48 +02:00
antirez b885085a74 Fix longitude error for southern hemisphere.
The problem was the cprModFunction() not calculating the absolute value
of the latitude, so the table only worked for the northen hemisphere.

Thanks to @pwarren for finding the bug.

This fixes issue #13.
2013-04-08 09:43:04 +02:00
antirez ff0fe38722 Two typos fixed in gmap.html. 2013-02-04 23:09:21 +01:00
antirez c991d658c6 gmap.html: update plane flight field when new data is received. 2013-02-03 23:20:29 +01:00
antirez acc702d9ac Fake version info removed from gmap.html. 2013-02-02 16:32:42 +01:00
antirez 9d55d5edd7 gmap.html: no rotation jumps when selecting / deselecting planes. 2013-02-02 16:32:00 +01:00
antirez 3307261546 CPR decoding: southern hemisphere coords are now handled correctly. 2013-02-02 14:40:58 +01:00
antirez 13596ba3dd A few bugs fixed in debug.html. 2013-01-27 21:42:40 +01:00
antirez e9e07e0778 Improved Google map interace: select planes and see details. 2013-01-27 01:37:05 +01:00
antirez 27e3743d87 Remove stale aircrafts when --interactive is not enabled. 2013-01-27 01:25:22 +01:00
antirez 977493cf63 Strong preamble detection even with --aggressive.
To try to decode messages with a fundamentally flawed preamble is mostly
a useless waste of CPU time.

The new aggressive mode still detects a sensible percentage of
additional messages because of the error tolerance and two-bits fixes
but does not waste your CPU time.
2013-01-26 13:03:24 +01:00
antirez 184953ff92 Phase correction fixed, code reshaped to apply more corrections.
The phase correction was applied only to a subset of bits! Because of an
offset error.

The detection code layout was modified a bit to make it simpler to
implement more corrections in the future. However only phase correction
is performed currently. Slope correction, or to compensate for the cycloid
effect are two possible improvements.
2013-01-26 12:58:08 +01:00
antirez 11d8db0d38 Properly initialize ICAO cached addresses hash table. 2013-01-26 01:15:24 +01:00
antirez c2e79d4555 Many small improvements (see full commit message).
* Better preamble detection to skip most of the messages we'll likely
  not be able to decode.

* A Phase correction algorithm that improves the recognition compared
  to the previous algorithm used.

* Javascript output in debug mode, and a debug.html file that can be
  used in order to see graphically undecoded samples.

* Ability to detect cross-read messages, that are, messages that happen
  to start and end across two different reads from the device or file.

* A few bugx fixed.

* README improved.
2013-01-26 01:08:13 +01:00
antirez 9086290b03 SBS-1: Code style adapted to code base. 2013-01-20 00:17:58 +01:00
Kemal Hadimli 071a021f20 New feature: Output in SBS format 2013-01-19 22:44:11 +01:00
antirez 2fe188286e Do not modify the packet when AP gets decoded. 2013-01-19 18:45:00 +01:00
antirez c9bb48675c Squawk extraction fixed. 2013-01-19 18:44:54 +01:00
antirez b4805ea7d4 Two important fixes to CPR decoding: wrong cast and more precise timing.
This commit address two issues with the implementation of CPR decoding:

Fix #1: The two functions N() and DLon() used to have the latitude
parameter as an integer (!), basically truncating the fractional part
before calling the NL() function to perform the lookup.

This resulted into random strange movements of aircrafts, especially
jumps or shifted positions.

Fix #2: Use milliseconds for CPR odd/even timestamps. Dump1090 already
tried to use the most recent packet received among the odd and even
packets currently available, however to do this correctly millisecond
resolution should be used, otherwise many times the odd and even packet
appear to have the same time in seconds and we don't always use the
latest received.
2013-01-18 23:05:08 +01:00