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
Oliver Jowett
303d3c3fef
Make faup1090 emit iSource to say where the ident came from.
2016-09-01 19:11:33 +01:00
Oliver Jowett
3e08de91ed
WIP on decoding operational status & target state messages.
2016-08-29 11:11:04 +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
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
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
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
Oliver Jowett
bc8ba5b73a
Refresh the nexrad tiles every 5 mins.
2016-08-05 01:18:23 +01:00
Oliver Jowett
8766a58811
Add a NEXRAD layer suggested in #135
2016-08-04 21:19:31 +01:00
Oliver Jowett
50fd2ac2af
Store the state of each overlay layer in localStorage.
2016-08-04 21:18:54 +01:00
Oliver Jowett
ca3c4979f5
Add a note about quoting keys in config.js
2016-07-24 21:15:21 +01:00
Oliver Jowett
426e77a252
Don't choke when selecting positionless planes in the table.
2016-07-24 16:58:13 +01:00
Oliver Jowett
4305c99b01
Add Bing roadmap layer (if you have a key)
2016-07-24 16:25:14 +01:00
Oliver Jowett
d3565b407e
Generate geodesic circles for range rings.
...
Turns out that OL3's circles aren't geodesic circles so the
ranges are all off if you're anywhere but on the equator.
So generate our own LineStrings that approximate a circle.
Should fix #133
2016-07-24 16:13:04 +01:00
Oliver Jowett
a06b13d42a
Relax the A/C quiet threshold; this seems to pick up a lot more A/C messages.
2016-07-24 15:05:52 +01:00
Oliver Jowett
1e5a6fd854
Don't touch the GPS setting (I had it backwards anyway).
2016-07-13 10:56:54 +01:00
Oliver Jowett
474b564385
Try to configure whatever faup1090 connects to for the settings we want.
2016-07-13 10:02:15 +01:00
Oliver Jowett
b2aaa23984
Remove the last vestiges of the update-aircraft-db cronjob.
2016-07-10 12:22:32 +01:00
Oliver Jowett
ad3d0e4d74
Upgrade the lighttpd dependency to Recommends
2016-07-10 12:13:49 +01:00
Oliver Jowett
9012b46ee1
Make the lighttpd enable/disable a bit more automatic.
2016-07-10 12:12:09 +01:00
Oliver Jowett
ebfa6f63be
Strip out the config options for the internal webserver.
2016-07-10 11:58:46 +01:00
Oliver Jowett
e4ceea33da
Disable the internal webserver at build time.
2016-07-10 11:56:31 +01:00
Oliver Jowett
9a10ef4886
Remove a stray "fi" in the initscript. Should fix #127 .
2016-07-10 11:41:02 +01:00
Oliver Jowett
68ef9ce3be
Add a note about the map API change.
2016-07-05 22:25:31 +01:00
Oliver Jowett
b05510ccc5
Merge branch 'ol3'
...
This switches from Google's map API to OpenLayers, as using Google's API
now requires an API key which most users won't have (and it's not
practical to distribute a key with the project, as the free quota would
run out pretty fast)
This unfortunately means that we can't use Google's tiles, even with a key.
The map now defaults to OpenStreetMap; Bing and Mapzen tiles are also
available if keys are provided in config.js.
2016-07-05 22:21:09 +01:00
Oliver Jowett
6e1372708c
Switch to OL 3.17.1; include a copy locally.
2016-07-05 22:07:26 +01:00
Oliver Jowett
b93ada6196
Explain where to get map keys.
2016-07-05 21:54:24 +01:00
Oliver Jowett
ae6a7acb67
Move aircraft icons above aircraft trails.
2016-07-03 14:54:36 +01:00
Oliver Jowett
abab5f5440
Fix initial baselayer selection if no type was stored.
2016-07-03 14:54:14 +01:00
Oliver Jowett
2bbc117528
Base64-encode the SVG markers, seems to make Firefox happier.
2016-07-03 14:44:05 +01:00
Oliver Jowett
381ce5f280
Lots of layer cleanups.
...
Move layer config into a separate file.
Add a Mapzen vector tile layer.
Make the overlay layers toggleable.
2016-07-03 13:56:58 +01:00
Oliver Jowett
6676bc8172
Allow forEachRecursive to work on a collection/array.
2016-07-03 13:36:32 +01:00
Oliver Jowett
4862010d42
Don't gratuitously reverse the layer order in the switcher.
2016-07-03 13:35:54 +01:00
Oliver Jowett
6e8b7cff57
Expand the attributions control by default.
2016-07-02 21:53:07 +01:00
Oliver Jowett
a357b9676d
Keyless MapQuest access goes away shortly so remove that layer.
2016-07-02 21:13:10 +01:00
Oliver Jowett
2e68341106
Layer switching support, ChartBundle, Bing maps.
2016-07-02 21:12:31 +01:00
Oliver Jowett
49cb77ac8f
Do stuff while animating/interacting.
2016-07-02 18:45:03 +01:00
Oliver Jowett
986c910a73
Turns out we don't need an interaction to catch feature clicks.
2016-07-02 18:11:05 +01:00
Oliver Jowett
54dc91adc5
Make table selection a little more robust.
2016-07-02 18:10:37 +01:00
Oliver Jowett
5cf512cf63
Clean out some debug, dead code.
2016-07-02 18:10:15 +01:00
Oliver Jowett
b7fc52bcb3
Tweak the svg stroke width based on scale.
...
The stroke width is applied before scaling, but we actually want
the outline to have the same weight regardless of the scale chosen.
2016-07-02 17:14:58 +01:00
Oliver Jowett
fc95719f2e
Reinstate selecting aircraft by clicking on their icons.
2016-07-02 17:11:33 +01:00