Skip to content

Add low Mach contact filtering - #49

Open
flybs1 wants to merge 1 commit into
UOAF:mainfrom
flybs1:spdfilt
Open

flybs1 wants to merge 1 commit into
UOAF:mainfrom
flybs1:spdfilt

Conversation

@flybs1

@flybs1 flybs1 commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Low Mach Contact Filtering

Adds an option to hide unpiloted aircraft contacts below Mach 0.2.

Changes

  • Adds hide_contacts_below_0_2m configuration option (enabled by default).
  • Adds a UI checkbox to toggle low-Mach contact filtering.
  • Filters unpiloted air contacts below Mach 0.2 from the render arrays.
  • Removes contacts from the render arrays when they no longer meet the filtering criteria.
  • Prevents radar labels from displaying for filtered contacts.
  • Adds a test for the filtering toggle.

Piloted aircraft and non-air contacts are exempt from the filter.

Testing

The feature has been manually verified to work. The associated test file currently reports 81 passing tests and 7 failures; these have not yet been fully investigated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant