Upstream contribution · bilawalsidhu/gods-eye-view
gods-eye-view · Wrap Local ADS-B track labels at north
Problem
The ADS-B decoder supplies tracks in a half-open range from zero up to 360 degrees. Rounding 359.7 degrees in the card yielded 360, inconsistent with north labels elsewhere in the globe interface.
Engineering response
Wrap the whole-degree display after rounding so a track rounding to due north reads zero. The change is confined to the card model's display value.
Evidence and scope
The pull request reports a fixture changing from 360 to zero and five passing card localization tests. No live aircraft feed was required.