From be56cf32a68ee1b0df2966ff39fd9751fd6afd7a Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Fri, 3 Apr 2026 07:25:13 +0000 Subject: feat(instruments): replace simulation with real GPS and barometer data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Drop VMG, Polar %, and PolarDiagramView — no NMEA source on boat - Shrink grid to 3×2 (AWS/HDG/BSP / TWS/COG/SOG) - Move Depth + Baro to expanded section side by side - Initialize all instruments to "—" on startup - Wire LocationService.locationFlow → SOG + COG display (real GPS) - Wire LocationService.barometerStatus → Baro display (device sensor) - Delete startInstrumentSimulation() fake loop entirely Co-Authored-By: Claude Sonnet 4.6 --- .../main/res/layout/layout_instruments_sheet.xml | 88 +++++++--------------- 1 file changed, 28 insertions(+), 60 deletions(-) (limited to 'android-app/app/src/main/res') diff --git a/android-app/app/src/main/res/layout/layout_instruments_sheet.xml b/android-app/app/src/main/res/layout/layout_instruments_sheet.xml index 0a84418..c651ba2 100644 --- a/android-app/app/src/main/res/layout/layout_instruments_sheet.xml +++ b/android-app/app/src/main/res/layout/layout_instruments_sheet.xml @@ -16,14 +16,14 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" /> - + @@ -35,7 +35,7 @@ android:gravity="center" android:padding="8dp"> - + @@ -47,7 +47,7 @@ android:gravity="center" android:padding="8dp"> - + @@ -59,7 +59,7 @@ android:gravity="center" android:padding="8dp"> - + @@ -71,7 +71,7 @@ android:gravity="center" android:padding="8dp"> - + @@ -83,7 +83,7 @@ android:gravity="center" android:padding="8dp"> - + @@ -95,72 +95,40 @@ android:gravity="center" android:padding="8dp"> - + - - - - - + + + + - + android:layout_weight="1" + android:orientation="vertical"> - + - - - + android:layout_weight="1" + android:orientation="vertical"> + + - - - - - - - - + -- cgit v1.2.3