Commit graph

1346 commits

Author SHA1 Message Date
Oliver Jowett 213d769bf9 Tweaks to json output / webmap handling of new fields (untested) 2018-03-08 17:34:34 +00:00
Oliver Jowett d8f568e0ce Switch everything over to safe_snprintf
Rework the aircraft json overflow/resize case
Add more fields to the json, reorder to match header ordering
2018-03-07 20:10:50 +00:00
Oliver Jowett 0608e31965 Move some static functions earlier 2018-03-07 20:09:23 +00:00
Oliver Jowett a8fe04f856 Derive emergency status from squawk if not otherwise provided. 2018-02-23 19:02:33 +00:00
Oliver Jowett 5a9350a6a1 Derive SPI / Alert from the airborne position message surveillance status field 2018-02-23 19:02:02 +00:00
Oliver Jowett 94824fbb98 Avoid coredump on "untracked" aircraft (icao 000000)
Clean up the first-message-squelch logic a little.
2018-02-23 18:21:01 +00:00
Oliver Jowett 04b940d45b Switch RC_UNKNOWN to 0 to make life a little easier for faup1090/piaware 2018-02-23 18:10:49 +00:00
Oliver Jowett f323745ead Don't track icao 000000 as an aircraft
(but do still decode messages for it)
2018-02-23 18:10:26 +00:00
Oliver Jowett abfb88b124 Separate sil / sil_type to make compression a bit simpler 2018-02-22 07:45:32 +00:00
Oliver Jowett 5cdf9157db Add gva / sda to tracking state 2018-02-22 07:45:14 +00:00
Oliver Jowett f1036702ce Use the time we last saw a message for data validity checks / data age info,
rather than the time we eventually decide to emit it.
2018-02-22 07:42:22 +00:00
Oliver Jowett a256833e17 Increase the max tsv output size 2018-02-22 07:42:04 +00:00
Oliver Jowett 7059c0f64a adsbVer -> adsb_version 2018-02-20 00:26:16 +13:00
Oliver Jowett aa78020410 Emit changed emergency/priority status immediately 2018-02-20 00:25:49 +13:00
Oliver Jowett 286d8e7a10 tsvVersion -> tsv_version 2018-02-20 00:25:15 +13:00
Oliver Jowett d6c0612767 Remove doubled-up banner/header code 2018-02-20 00:24:39 +13:00
Oliver Jowett 1d5db2fd76 Fix baro/geometric rate flag sense in airborne velocity messages 2018-02-20 00:08:26 +13:00
Oliver Jowett 44e8913c2d Whitespace cleanups 2018-01-09 17:13:34 +00:00
Oliver Jowett daebc372a9 Write a version header on faup1090 startup 2018-01-09 17:12:33 +00:00
Oliver Jowett 0c3671429b Category 0 means not set. 2018-01-09 14:49:16 +00:00
Oliver Jowett 2ce2af1685 Tweak when we allow updates to air/ground status. 2018-01-09 14:47:08 +00:00
Oliver Jowett 571ea7ac41 Emit integrity info, when it changes. 2018-01-09 14:46:33 +00:00
Oliver Jowett 63d1b4b553 Consistency in *_enum_string naming 2018-01-09 14:45:18 +00:00
Oliver Jowett a947163dee Fix ADSBv0 ground movement decoding 2018-01-09 14:44:20 +00:00
Oliver Jowett ea1e9c336b Decode/emit emergency/priority status 2018-01-09 14:43:58 +00:00
Oliver Jowett 079061df3c SIL stuff 2017-12-07 13:36:07 -06:00
Oliver Jowett 161d2d8ded More WIP 2017-12-07 10:34:08 -06:00
Oliver Jowett 6986b3847f WIP on new faup1090 output, data aging, refactoring 2017-12-02 17:38:33 +00:00
Oliver Jowett a3cdd47d80 ADSBv2 uses bit 15 of BDS1,0 2017-06-19 11:27:14 -05:00
Oliver Jowett 634d806686 Version bump to 3.6.0~dev 2017-06-19 11:12:23 -05:00
Oliver Jowett 4baae970ae Retain callsign even after it disappears from json. 2017-06-16 13:30:30 +01:00
Oliver Jowett c6d7f1ec6f Expire tracked true_heading, intent_modes 2017-06-16 11:42:41 +01:00
Oliver Jowett 2f53b57278 Fix typo in BDS6,0 scoring 2017-06-16 10:56:11 +01:00
Oliver Jowett f45a7d61a5 Include AP modes in info window. 2017-06-16 10:40:22 +01:00
Oliver Jowett 8a52108d77 Clean up js-side data capture, fix naming on ground track / speed. 2017-06-16 10:39:57 +01:00
Oliver Jowett 382554a250 Tweak tracking of AP modes, emit in json & faup1090 output 2017-06-16 10:39:01 +01:00
Oliver Jowett e3c8c91852 Emit adsb version in json & faup1090. Show it in skyview. 2017-06-15 23:42:05 +01:00
Oliver Jowett 17c8265ce8 Fix a few more things that were broken by the field renaming. 2017-06-15 22:41:32 +01:00
Oliver Jowett c7855c5ab6 Feed more data to skyview, basic display updates. 2017-06-15 22:36:23 +01:00
Oliver Jowett 1ec32903ba Rework heading/track to include HRD/TAH.
Clean up TIS-B flag output.
2017-06-15 21:07:53 +01:00
Oliver Jowett 05e9601903 Fix compilation. Emit some changes immediately in faup1090. 2017-06-15 18:30:12 +01:00
Oliver Jowett 27b0e9c40f Rename TARGET_* -> INTENT_ALT_*
Rearrange the intent tracking a bit.
2017-06-15 18:23:28 +01:00
Oliver Jowett 2142d2edf5 Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
Oliver Jowett 98d64483d6 WIP: More Comm-B & ADS-B decoding. 2017-06-15 18:07:40 +01:00
Oliver Jowett 2e0aba4f1f Merge pull request #12 from drakeapps/master
Skyview Fixes
2017-05-09 19:41:06 +01:00
James Wilson 80eca0ff9a Always show correct source on data popup 2017-05-09 12:23:03 -05:00
James Wilson d225b9bc3f Fix event variable name 2017-04-25 18:28:57 -05:00
Oliver Jowett 0d7177fe9a Squawk/callsign might not be seen regularly from Mode S transponders
as it relies on SSR interrogation. Increase the FATSV validity
timeout so that any message we do see stays valid long enough to
get reported.
2017-04-21 22:25:41 +01:00
James Wilson bd96af9827 Check for other TIS-B types 2017-04-06 14:23:30 -05:00
James Wilson f1192e9414 Add fall back fonts for Helvetica Neue 2017-04-06 14:18:23 -05:00