Commit Graph

1578 Commits

Author SHA1 Message Date
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
Oliver Jowett 620cb3a720 Regenerate TypeDesignatorIcons based on internal FA icon mappings 2019-11-18 20:15:05 +08:00
Oliver Jowett a11576710d Make the stretch build be a backport. Add a build rule for buster. 2019-11-07 10:54:24 +08:00
Oliver Jowett f1fef5b8fc Add buster to the Jenkins build 2019-11-07 10:41:40 +08:00
Oliver Jowett 36ae24838f 3.8.0~dev 2019-11-07 10:40:24 +08:00
Matthias Wirth f67a31823b use accept_data for setting position_valid
Check the return value from accept_data to determine if we want to
use the decoded position.
Avoid a position from local CPR with a synthetic MLAT message being used
when the position may still be valid and either odd or even CPR already
stale allowing the MLAT CPR to be used.
Set the position expiration correctly for global surface CPR, the
previous code could have an up to 50 second old CPR being used, which
would result in combine_validity setting an expiry time for the position
only 10 seconds in the future.
2019-11-01 07:31:39 +01:00
Matthias Wirth aa2b205481 Fix update_position being called when neither CPR changed
When we have ADS-B CPRs and get for example a MLAT synthetic CPR, don't
call updatePosition as this messes up the position state.
2019-10-18 21:02:12 +02:00
James Wilson af786e6e85
Fix settings checkboxes on high dpi screens 2019-10-04 20:46:17 -05:00
Rosen Penev ffff5d6646
treewide: Replace usleep with nanosleep
usleep was removed in POSIX 2008 and is optionally unavailable with
uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-03 18:10:46 -07:00
Oliver Jowett 089684e20f Merge branch 'dev' into staging 2019-09-11 13:05:31 +08:00
Oliver Jowett 25b3a34fff Add a versioned cache bust to all the javascript URLs 2019-09-11 12:59:51 +08:00
Eric Tran ae4a89b707 Release 3.7.2 2019-09-09 14:29:26 +00:00
Oliver Jowett dabb6fc135 Trigger build after bladeRF build; turn off build durability; turn off concurrent builds 2019-09-05 15:32:04 +08:00
byronbest 0ba4ba3fd7
fixed up the merge problems 2019-09-04 09:43:13 -07:00
Oliver Jowett 0a0fb46b5d Pass branch name to validate-packages 2019-09-04 23:55:48 +08:00
Oliver Jowett 1d29f5e059 Reject outright a libbladerf that's too old 2019-09-04 22:46:38 +08:00
Oliver Jowett 18d47fd5ff Fix polyfill for really old libbladerf-dev which doesn't provide an API version define 2019-09-04 22:14:56 +08:00
Oliver Jowett 4edb2e8e35 Use new build infrastructure scripts 2019-09-04 21:53:53 +08:00
byronbest a1a7d42e90
fix problems with info box
error when removing plane, moving outside canvas, weird overlapping marker solution using extents
2019-09-03 10:34:00 -07:00
Oliver Jowett e2761fc21d
Merge pull request #48 from wiedehopf/track_history_fix
SkyView: Fix aircraft trail handling
2019-08-16 18:46:49 +08:00
Oliver Jowett 6a0df00e2d Update aircraft DB to 20190816.
In addition to the usual updated data, this update fixes a number
of ICAO type designator errors in the FlightAware static data
export (notably for the A330).

Fixes #17
2019-08-16 15:42:01 +08:00
Oliver Jowett d0094d5abd Fix registration stride mappings with a non-zero offset.
registrations.js would miscalculate the end of the address range
in these cases, causing the mapping to be skipped for addresses
that we could have handled.

This specifically affected German registrations beginning with
D-AP through D-AZ and D-BP through D-BZ
2019-08-16 15:19:44 +08:00
Oliver Jowett 35299c47ba Have filter-regs emit a special value "-COMPUTED-" for filtered data values,
rather than blanking them out entirely.

This lets csv-to-json.py handle the case where an earlier input file has (e.g.)
a registration value which does not match the computed value, and then a later
input file has a value that does match. In this case we want to override the
older value with the newer value, then notice that the registration can be
omitted when writing the database. Previously in this case the older (incorrect)
value would be used.
2019-08-16 15:16:55 +08:00
Oliver Jowett 0d2bd6ae34
Merge pull request #49 from wiedehopf/markers-fix
Fix some display errors
2019-08-13 19:38:32 +08:00
Eric Tran 1ecc925ed5 Remove wheezy from Jenkins build process 2019-08-01 13:57:53 +00:00
Eric Tran d9a78636a6 Version bump to 3.7.2~dev 2019-07-31 16:28:21 +00:00
Eric Tran 9cef820dfc Merge branch 'SkyAware' into dev 2019-07-31 16:23:20 +00:00
Matthias Wirth f1cb09d0e3 SkyView: Fix trail color for planes that are now on ground
When determining the color for a given altitude, don't check the current
altitude if it's ground but the altitude passed as an argument to the
function.
Without this fix, when clicking an aircraft on ground, its entire trail
is drawn in the color for ground.
2019-07-30 13:30:03 +02:00
Matthias Wirth 207ca0c401 SkyView: Unify stale check for loading the history
When loading the history, the check for stale aircraft tracks is done
differently.
This results in lots of dotted/stale track after opening the web page.
Improve this by using the same 5 second timeout stale criterion to
postions loaded from history. Add an additional check to better detect
stale tracks when loading history positions that are spaced 30 seconds
apart.
2019-07-30 13:24:11 +02:00
Matthias Wirth 76ab0a7ebe SkyView: Fix ground markers
Add width and height to the svg xml description of the markers/symbols
for ground vehicles.
Fixes thouse markers/symbols being invisble.
2019-07-30 13:03:21 +02:00
Eric Tran b01f42097d Add new SkyAware banners 2019-07-29 15:24:56 +00:00
Matthias Wirth 5cc04d4ca8 SkyView: Fix aircraft trail handling
Make aircraft trail handling more consistent and the code hopefully
easier to understand.
Fix position comparison (comparing array references does not work).

When initially loading the SkyView webpage, there are sometimes gaps in
the aircraft trails when the trail transitions from estimated/dotted to
known/solid track.

Fix elastic band style to handle estimated segments properly.
2019-07-27 17:46:23 +02:00
Eric Tran de6d671ba4 Change all occurences of Skyview to SkyAware in .js files 2019-07-16 19:11:19 +00:00
Eric Tran f4537bd49a Change all occurences of Skyview to SkyAware in code 2019-07-16 15:36:16 +00:00
Oliver Jowett ef125bd5f0 Bump TSV_VERSION for TAH sense fix. 2019-06-06 14:17:27 +08:00
Oliver Jowett e444d2eb5c Fix reversed sense of Track Angle / Heading bit in surface opstatus messages. 2019-06-06 14:15:14 +08:00
Oliver Jowett a0bd957274 Merge PR #46 2019-05-06 10:24:47 +08:00
Oliver Jowett fa65517ada standart -> standard 2019-05-06 10:23:28 +08:00
henry1952 64236c55d8
Update README-json.md
added nav_altitude_mcp, nav_altitude_fms
2019-05-05 19:32:40 +02:00
Eric Tran 40614778bc Release v3.7.1 2019-05-03 12:37:46 -05:00
Oliver Jowett 17f1054dff Partial merge of #44 2019-05-03 17:20:29 +08:00
Dalton Flanagan 7c57d8095b
Merge branch 'dev' into patch-1 2019-05-02 23:00:26 -07:00
Dalton Flanagan e30b3e87f5
Update README.md 2019-05-02 20:41:20 -07:00
Dalton Flanagan 68ca0dc800
Tweak README commands for easier copy & paste
Right now all of these commands are in plaintext in a single line. Splitting them in a code block makes it more readable and easier to copy and paste directly into a terminal.
2019-05-02 20:39:24 -07:00
Oliver Jowett 01b07ec50a Merge branch 'pr-39' into dev 2019-05-02 22:19:19 +08:00
Oliver Jowett 16f1d450ae Some corrections to json doc updates 2019-05-02 22:15:41 +08:00
Oliver Jowett 930e158208 Update aircraft DB to 20190502 2019-05-02 18:54:59 +08:00
Oliver Jowett 61f483c3e7 Bump TSV_VERSION to reflect extensive comm-b changes 2019-05-02 18:30:32 +08:00