Commit Graph

1575 Commits

Author SHA1 Message Date
Eric Tran 2efbf20177 Merge branch 'range_rings' into dev 2020-03-03 16:21:41 +00:00
Eric Tran a273f72246 Merge branch 'view_toggle_fix' into dev 2020-03-03 16:20:34 +00:00
Eric Tran bfc45dc81d Handle cases where location is not set 2020-03-02 20:48:45 +00:00
Eric Tran 888e7de16d Text formatting 2020-03-02 19:57:28 +00:00
Eric Tran f13b96dc6b Refactor and reset range rings properly 2020-03-02 19:19:57 +00:00
Eric Tran 8bb95e9956 Put range ring initialization work into a function and populate text fields with currently set values 2020-03-02 17:40:42 +00:00
Eric Tran 08a326eb7c JS code to handle custom range rings in SkyAware 2020-03-01 17:20:53 +00:00
Eric Tran c71c39b0d7 Customizable range rings UI 2020-02-28 20:54:22 +00:00
Eric Tran 263e03f7c2 Add last position age to aircraft detail pane that was removed 2020-02-20 22:27:12 +00:00
Eric Tran 9406fa7a2e Fix js error when setting ShowFlags=false 2020-02-20 21:55:16 +00:00
Eric Tran 070bc9f23c Don't initalize sorting if "Group By Data Type" is checked. Also de-select the box and save state if another sort method is chosen 2020-02-20 20:16:14 +00:00
Eric Tran e5a87e91b7 Fix issue with "Group By Data Type" and "All Aircraft Tails" toggle views were not persisting across browser refreshes 2020-02-20 18:51:10 +00:00
Eric Tran dfbe32559e Adjust width for PiAware SkyAware banner in css file 2020-01-30 16:57:11 +00:00
Eric Tran 439f615552 3.8.1~dev 2020-01-30 15:16:44 +00:00
Oliver Jowett c3541bcbea Release 3.8.0 2019-12-30 22:16:12 +08:00
Oliver Jowett 940c8e47ea Update changelog for 3.8.0 2019-12-16 11:05:07 -06:00
Oliver Jowett 81e6f680ee Update aircraft db to 20191216 2019-12-16 10:22:46 -06:00
Oliver Jowett d471249f17 Track ADS-B version separately for direct ADS-B, TIS-B, ADS-R
(both because direct vs ground station might be different, and
to avoid characterizing ADS-R or TIS-B aircraft as being DO-260B
when they're not)
2019-12-12 09:21:26 -06:00
Oliver Jowett 886b0d3f81 Treat ADS-R as a separate source type (higher priority than TIS-B, lower priority than direct ADS-B) 2019-12-11 12:43:19 -06:00
Jade Michael Thornton 404ac5dced
Update style.css hide scroll bar when not needed (#26)
Update style.css hide scroll bar when not needed
2019-12-11 09:55:24 -06:00
Jade Michael Thornton 4a21198081
fix problems with info box (#51)
fix problems with info box
2019-12-09 13:14:05 -06:00
byronbest f45e657583
no need to ease when not visible 2019-12-09 09:55:09 -08:00
byronbest 497776c642
animate only if already visible 2019-12-09 09:32:03 -08:00
byronbest 0878bd2ddc
change more indents to tab 2019-12-05 17:13:17 -08:00
byronbest 1a0ba50c4a
fadeOut when marker leaves canvas
also move fadeIn to position at new marker before showing infoBox
2019-12-05 17:06:18 -08:00
Oliver Jowett 201cb2f466
Merge pull request #55 from wiedehopf/cpr_fix
CPR / Position update fix / improvement
2019-12-04 18:36:07 +08:00
Oliver Jowett 105ec2098c "unreliable_tracks" -> "unreliable" in stats json as suggested in #56 2019-12-03 14:15:54 +08:00
Oliver Jowett aa59af32aa
Merge pull request #56 from toofishes/patch-1
Fix invalid JSON after addition of unreliable_tracks
2019-12-03 14:07:29 +08:00
Dan McGee 21743b03b7
Fix invalid JSON after addition of unreliable_tracks
When `unreliable_tracks` was added to the JSON output, the trailing `}` after `single_message` should likely have been removed.

Side note: should this just be `unreliable` since it is nested inside `tracks`? `all` and `single_message` don't have the `tracks` suffix.
2019-12-02 20:49:33 -06:00
Oliver Jowett f7123c41e5 When trying to correct a DF11 that had bits set in the top 17 bits of the
residual, use the full 24-bit syndrome.

Previously this would mask off the low 7 bits, which isn't particularly
great - it doesn't really make sense in that it implies a somewhat
random IID value, and it would actually only correct 20 possible bit
errors out of the 51 possible errors, 16 of which were errors in
the top 16 bits of the CRC itself. It is also risky as it will accept
a larger number of possible garbage messages as the lower 7 bits may take
any value.

Instead, use the full syndrome, assuming that the damaged message
had IID=0 - which seems more likely than assuming a random IID, since
IID=0 is used for acquisition squitters and should be arriving regularly.

The reduced rate of corrections for DF11 messages shouldn't have
much of an impact as DF11s carry very little data themselves - they
are mainly used to acquire the aircraft address. Once one good message
for an aircraft turns up (which would require IID=0 anyway before we'd
accept it) it doesn't really matter if we discard more damaged messages,
as they're not contributing to anything useful in the aircraft state
beyond air/ground status, which is also carried in many other messages.
2019-12-02 21:27:18 +08:00
Oliver Jowett ae29613d85 Exit view1090 on connection loss in non-interactive mode 2019-12-02 19:52:43 +08:00
Oliver Jowett a224f6f783 Put a warning header up in view1090 interactive mode when there's no connection 2019-12-02 19:51:06 +08:00
Oliver Jowett fb110802d6 When view1090 reconnects, re-send our connection settings on the new connection 2019-12-02 19:50:31 +08:00
Oliver Jowett 59170cbacb Tweak --net-ro-size / --net-ro-interval defaults 2019-12-02 13:49:48 +08:00
Oliver Jowett 4ab1938f97 Update package defaults to pass --fix (1-bit crc correction) to match the piaware-support generated config on sdcard images 2019-12-02 13:47:29 +08:00
Oliver Jowett c853db67d0 Remove duplicated --net-bo-port 30005 in default config 2019-12-02 13:40:23 +08:00
Oliver Jowett f868e4c010 Bump TSV_VERSION for verbatim mode / track reliability changes 2019-12-02 13:01:43 +08:00
Oliver Jowett ea9f81c605 Remove first_message field as it's now unused. 2019-11-28 13:56:11 +08:00
Oliver Jowett 19327926f1 Cooked vs verbatim was reversed, fix it 2019-11-27 22:28:09 +08:00
Oliver Jowett b2e9153653 Add stats for unreliable tracks 2019-11-27 21:41:33 +08:00
Oliver Jowett a8737f7916 Remove --aggressive entirely, replaced by "--fix --fix" to enable 2-bit FEC.
nb: messages with a correctable 2-bit error are only forwarded to network
clients that have enabled verbatim mode (and they will be forwarded with
the 2-bit error still present, so the downstream client must apply its own
correction if desired)
2019-11-27 21:09:19 +08:00
Oliver Jowett 8ffa43b65c Add a v/V Beast-format setting to control verbatim mode.
Make --net-verbatim just control the default setting.

0x1A '1' 'v' disables verbatim mode (send "cooked" output);
0x1A '1' 'V' enables verbatim mode

Support clients with different settings by switching them between output
writers depending on what setting they want, so clients with different
settings can co-exist (unlike the Mode A/C setting)

In cooked mode, FEC corrections are applied to messages before they are send
and only trustworthy messages are forwarded; this is the default case for
downstream clients that don't want to apply their own rules and are happy with
the decisions that dump1090 makes.

In verbatim mode, all messages are forwarded, but no FEC corrections are applied;
the downstream client needs to make its own FEC / noise filtering decisions.

Usually the default for new connections is cooked mode. --net-verbatim changes the
default to be verbatim mode.
2019-11-27 21:04:27 +08:00
Oliver Jowett 54409b4836 Split beast output into two separate writers for verbatim vs. non-verbatim
in preparation for supporting both types of connection in parallel
2019-11-27 21:01:46 +08:00
Oliver Jowett dfc588335a Move output filtering down a level into the individual output functions. 2019-11-27 20:57:01 +08:00
Oliver Jowett 54f2c54d8f Include only reliable tracks in aircraft.json, faup1090 output 2019-11-27 20:51:23 +08:00
Oliver Jowett 9500a2f2f7 Show only reliable tracks in interactive mode 2019-11-27 20:51:23 +08:00
Oliver Jowett 429e34db21 Include ADS-B version in interactive mode display 2019-11-27 20:51:23 +08:00
Oliver Jowett ce89cd08d9 Groundwork to track "reliable" messages & aircraft.
A "reliable" message is a DF17 or DF11 with good CRC.
A "reliable" aircraft is one that's probably real - we decide it's reliable when
we've seen enough reliable messages, or just enough messages in total, that it's unlikely
to be noise.
2019-11-27 20:51:23 +08:00
Oliver Jowett dda442c121
Merge pull request #54 from flightaware/settings_checkboxes
Fix settings checkboxes on high dpi screens
2019-11-25 21:29:07 +08:00
Oliver Jowett 3c76eeb51c
Merge pull request #53 from neheb/b
treewide: Replace usleep with nanosleep
2019-11-25 21:28:09 +08:00