Commit graph

1125 commits

Author SHA1 Message Date
Oliver Jowett 2636353e4a Fix aircraft-relative position validity check. 2016-09-02 18:41:59 +01:00
Carlos Salaverria 4ddb129b5e Fix map zoom button positioning in IE 2016-09-02 11:45:48 -05:00
Oliver Jowett f9419f13d5 Break up decodeExtendedSquiiter, it was getting pretty large. 2016-09-01 23:13:31 +01:00
Oliver Jowett a1fdc07db2 Restructure decoding to use a helper function to extract bit ranges
With forced inlining this is about as fast, and it is much less
errorprone than the twisty little maze of handcoded bitshifts that
it was before.

(notably, at least one error - in the ACAS RI field - has been fixed)
2016-09-01 22:45:49 +01:00
Carlos Salaverria cd8b48c282 Fix incorrect info box size calculation 2016-09-01 16:15:03 -05:00
Carlos Salaverria ffd661be84 Adjust table font 2016-09-01 15:50:21 -05:00
Carlos Salaverria 6199003fa1 Add transparent borders to increase size of marker clickable area 2016-09-01 14:55:02 -05:00
Oliver Jowett 303d3c3fef Make faup1090 emit iSource to say where the ident came from. 2016-09-01 19:11:33 +01:00
Carlos Salaverria e5902f2820 Automatically reposition info box if it overlaps plane marker 2016-08-31 17:59:24 -05:00
Carlos Salaverria bf1d1280ec Make aircraft info panel draggable 2016-08-31 15:45:29 -05:00
Carlos Salaverria 6934b8899a Merge branch 'master' into map_enhancements 2016-08-31 10:13:32 -05:00
Oliver Jowett ab8cc6be58 Release 3.0.5 (no changes) 2016-08-31 13:03:08 +01:00
Carlos Salaverria 7363152b93 Adjust button styles 2016-08-30 17:39:55 -05:00
Carlos Salaverria f2ea5a75bb Reposition map buttons 2016-08-30 17:20:29 -05:00
Carlos Salaverria a37c75bf83 Show additional data in selected aircraft info block 2016-08-30 16:38:41 -05:00
Carlos Salaverria 5de3bffcfa Deselect planes if map is clicked 2016-08-30 15:22:34 -05:00
Carlos Salaverria d5bd164169 Show selected plane information in separate panel 2016-08-30 15:07:54 -05:00
Carlos Salaverria 3588a47058 Adjust aircraft marker sizes 2016-08-30 13:35:58 -05:00
Carlos Salaverria 6accc36fd2 Move map zoom buttons to right side 2016-08-30 11:03:42 -05:00
Carlos Salaverria d5293cc0ed Add ability to map aircraft type descriptions to markers 2016-08-29 17:12:52 -05:00
Carlos Salaverria e13b09f1a4 Clean up aircraft type data inconsistencies 2016-08-29 14:45:05 -05:00
Oliver Jowett d7f7ffa70a Add support for markers that don't rotate but have a heading arrow.
Use it for balloons.
2016-08-29 13:45:37 -05:00
Oliver Jowett b04aec0ea1 Add A380 and B737-800 markers. 2016-08-29 13:45:22 -05:00
Oliver Jowett 413441e36d Add some more type->marker mappings. 2016-08-29 13:45:01 -05:00
Oliver Jowett 7541d89533 Fix the scaling comment. 2016-08-29 13:44:37 -05:00
Oliver Jowett 5e786e6cad Add more aircraft icons courtesy Peter Lowden.
Add support for selecting an icon based on aircraft type from the json DB.
2016-08-29 13:43:22 -05:00
Carlos Salaverria d17f027035 Add aircraft type information to planeObject 2016-08-29 10:07:03 -05:00
Oliver Jowett 08fba4e3b0 Add support for markers that don't rotate but have a heading arrow.
Use it for balloons.
2016-08-29 12:38:00 +01:00
Oliver Jowett 3e08de91ed WIP on decoding operational status & target state messages. 2016-08-29 11:11:04 +01:00
Oliver Jowett fa91b24ffa Use _DEFAULT_SOURCE to get ANSI-plus-defaults rather than
_BSD_SOURCE + _POSIX_SOURCE which newer glibc doesn't like.

Fixes #143
2016-08-28 23:48:17 +01:00
Oliver Jowett 08887642ea Rename the ACAS stuff a bit, emit ES target state. 2016-08-28 12:51:03 +01:00
Oliver Jowett 954034855a Make faup1090 emit some interesting messages when they occur. 2016-08-28 01:29:37 +01:00
Oliver Jowett 244ea9851d Add A380 and B737-800 markers. 2016-08-27 19:19:13 +01:00
Oliver Jowett 4d47ada055 Add some more type->marker mappings. 2016-08-27 19:18:57 +01:00
Oliver Jowett 4c79319145 Fix the scaling comment. 2016-08-27 16:43:17 +01:00
Oliver Jowett 158a8298fc Rearrange json DB stuff so it can work with CSV input. 2016-08-27 16:13:10 +01:00
Oliver Jowett ca57fb27f0 Add more aircraft icons courtesy Peter Lowden.
Add support for selecting an icon based on aircraft type from the json DB.
2016-08-27 15:49:04 +01:00
Oliver Jowett 54ca2c7fb2 WIP big rewrite of message decoding / aircraft tracking. 2016-08-27 14:34:14 +01:00
Oliver Jowett f152bf633e Build in C11 mode on Linux. 2016-08-27 13:15:41 +01:00
Carlos Salaverria 812de53ec1 Parse aircraft type codes 2016-08-26 16:22:14 -05:00
Oliver Jowett 36a5c16dd2 Initialize from static "zero" messages rather than using memset. 2016-08-26 21:39:39 +01:00
Oliver Jowett 8b8f8d7a40 Use INVALID_ALTITUDE in a few more places. 2016-08-26 21:38:06 +01:00
Carlos Salaverria 08ffda1aa8 Update aircraft db logic to include ICAO type information 2016-08-26 14:25:25 -05:00
Oliver Jowett 08c14484cd Use the haversine formula for small greatcircle distances, rather
than clamping to zero.
2016-08-26 11:36:29 +01:00
Oliver Jowett a910454c02 Comm-D ELM is actually DF 24..31, not just 24.
This DF is formatted with the first two bits as 1, and the next 3 bits
are part of the message rather than part of the DF code. So effectively
it spans 8 DF values if you are looking at the full 5 bits.
2016-08-26 11:35:11 +01:00
Oliver Jowett 308b928f8c If maxrange is 0, we cannot do receiver-relative CPR at all. 2016-08-26 11:31:32 +01:00
Oliver Jowett 43906f994b Limit aircraft-relative CPR to 50km. 2016-08-26 11:30:46 +01:00
Oliver Jowett 568e843b9f Add --max-range to view1090, use the same defaults as dump1090. 2016-08-26 11:29:42 +01:00
Oliver Jowett 8d998b2525 Rename --hae to --gnss since it's not always HAE.
(In the baro+GNSS modes, the reported GNSS can be either HAE or geoid-corrected MSL;
in the pure GNSS mode it is HAE only)
2016-08-26 11:27:46 +01:00
Carlos Salaverria 5290b58940 Update README 2016-08-25 16:49:36 -05:00