Add aircraft total to loot screen (ADS-B tracking + server-side deduped count)#4
Open
FusedStamen wants to merge 10 commits intoLOCOSP:mainfrom
Open
Add aircraft total to loot screen (ADS-B tracking + server-side deduped count)#4FusedStamen wants to merge 10 commits intoLOCOSP:mainfrom
FusedStamen wants to merge 10 commits intoLOCOSP:mainfrom
Conversation
Author
|
also fixed - upload timeout false failure (wardrive_upload) ProblemLarge sessions with many ADS-B records could exceed the 30s upload timeout. Fix
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
Adds ADS-B aircraft tracking to the loot database and loot screen.
Changes
loot_manager.py
save_adsb_aircraft()method — appends toadsb_aircraft.csvper session, deduped by ICAO within session, consistent with existing bt_devices/wardriving patterns_scan_session_dirnow countsadsb_aircraft.csventries_recalc_totalsand_rebuild_dbincludeadsbkey for cross-session accumulationapp.py
aircraft_newevent handler now callsloot.save_adsb_aircraft()for each new unique ICAO, capturing position, altitude, speed and heading_load_loot_totalsincludesadsbkey_user_stats["aircraft"]), falls back to local countNotes
adsb_aircraft.csvformat matches whatwardrive_upload.pyalready expects for upload, so existing sessions with that file will be picked up automatically