Skip to content

Improve Ground Station live navigation and descent indicators - #420

Merged
stojadin2701 merged 6 commits into
mainfrom
fix/gs-live-gnss
Oct 14, 2026
Merged

stojadin2701 merged 6 commits into
mainfrom
fix/gs-live-gnss

Conversation

@stojadin2701

@stojadin2701 stojadin2701 commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Description

Improve the Ground Station Live screen so each receiver keeps its own position, missing GNSS displays placeholders, and bearings are measured clockwise from true north. Live opens on downrange/bearing; Right opens GNSS and Left returns.

Add per-receiver speed-based Main/Drogue/Ballistic indicators with hysteresis and two seconds of fresh telemetry before changing an established phase. Numeric velocity stays immediate. A ten-second downrange history shows increasing, decreasing or steady distance. The footer shows packet AGE and LQ, with a separate error row, and now fills the complete display width.

Classification clears on touchdown/testing, hides on stale telemetry, and recovers when Vega restarts while another screen is open. Duplicate packets and redraws cannot confirm a phase change. These are speed-based estimates, not confirmation of parachute deployment.

Runtime changes are limited to Ground Station Live rendering and local packet-arrival timestamps. Simulator fixtures and regression coverage follow the firmware behavior, and CI now runs the browser regressions. Ground Station version is incremented to 1.3.2; Vega and Telemetry firmware are unchanged.

Validation

  • The final follow-up commit passed gs-precommit.ps1: Windows and Linux firmware builds, clang-format, clang-tidy, diff checks, 21 deterministic scenarios, 13 fixtures, and the WebAssembly build.
  • All 26 browser regression groups passed. Visually inspected all four changed golden screens, including the full-width footer and four-digit descent speed.
  • Earlier review passed 28 local host checks against the production telemetry class and Live renderer with address/undefined-behavior sanitizers, plus incremental rendering checks. Covered independent links, stale/duplicate packets, source restart, timestamp/uptime wrap, touchdown and testing mode. Local review harnesses are not part of this PR.
  • Bench simulation with physical Vega and Ground Station: all actuators were confirmed disconnected; Toyger replay reached TOUCHDOWN, and the user confirmed GS Live updated over the radio. GS USB telemetry capture was empty, so it did not independently validate the displayed values. Vega used a local development build for replay; no flight-computer source change is included.
  • The final footer-width correction was validated by builds, browser regressions and rendered-screen inspection; it has not been separately flashed for a hardware retest.

Checklist for changes

  • Feature tested manually [Mandatory] — Live screen bench replay and visual inspection; broader hardware checks below remain outstanding.
  • Simulation flight performed [Optional] — physical Vega Toyger replay completed through TOUCHDOWN.
  • Drone flight performed [Optional]
  • [na] Copyright notice for new files — no new tracked files.
  • [na] #pragma once directive for new header files — no new headers.

Remaining hardware acceptance: dual-receiver independence and loss/reconnection, GNSS loss, leaving Live and returning after a Vega restart, touchdown/testing transitions, physical LCD/button timing, recording and recovery behavior. Bench replay is not an actual flight test.

Checklist for Releases

Version 1.3.2 is prepared in this PR; no release or tag has been published.

  • Simulation flight performed [Mandatory] — bench replay described above.
  • Drone flight performed [Optional]
  • Version number incremented [Mandatory]
  • Develop and debug flag disabled [Mandatory] — Ground Station production configuration; separate Vega replay build is excluded.

Related issues

None linked.

Display placeholders for invalid coordinate pairs and reset coordinate typography when switching views. Preserve valid equator and prime-meridian coordinates and add a browser regression check.
Show per-receiver speed-based descent phases and ten-second downrange trends. Require fresh telemetry to confirm phase changes and recover from restarted source timestamps after an outage. Keep the AGE/LQ footer compact, align simulator controls, and run browser regressions in CI.
@stojadin2701
stojadin2701 marked this pull request as ready for review October 14, 2026 20:45
@stojadin2701
stojadin2701 merged commit 435a3c5 into main Oct 14, 2026
11 checks passed
@stojadin2701
stojadin2701 deleted the fix/gs-live-gnss branch October 14, 2026 20:50
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