From 66208d8c5d8ad8bdfca85ad4585e2ec223d6843e Mon Sep 17 00:00:00 2001 From: itsrubberduck Date: Fri, 19 Jun 2026 12:30:23 +0200 Subject: [PATCH] feat(pm): auto-tune radio from SimBridge telemetry via ?token When /pm is opened with ?token=, poll /api/bridge/live for fresh telemetry. While the bridge keeps posting, mirror the sim's COM1 active frequency into the radio (only on actual sim change, so manual/flow tuning isn't clobbered) and show a "Bridge connected" badge in the HUD. Telemetry now carries COM_ACTIVE_FREQUENCY/COM_STANDBY_FREQUENCY from the bridge's com_active_frequency/com_standby_frequency fields. Co-Authored-By: Claude Opus 4.8 --- app/pages/pm.vue | 137 +++++++++++++++++++++++++++++++++ server/api/bridge/data.post.ts | 2 + shared/data/flightlab/types.ts | 2 + 3 files changed, 141 insertions(+) diff --git a/app/pages/pm.vue b/app/pages/pm.vue index 30f73ad..7dc561f 100644 --- a/app/pages/pm.vue +++ b/app/pages/pm.vue @@ -467,6 +467,19 @@
+ + +