Dash: speed and coolant from CAN (vehicle_speed_kph, coolant_temp_c); GNSS speed beside
/ crosscheck (push) Successful in 1s
CI / Analyze & Test (push) Successful in 20s
CI / Debug APK (push) Successful in 1m1s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DDwfd6Ki8UfG4hK6W5YpJz
This commit is contained in:
2026-10-15 20:17:46 +09:00
parent 4cf7a786d6
commit f03a0ad464
+5 -3
View File
@@ -29,9 +29,11 @@ class DashPage extends StatelessWidget {
final b = boundary;
Reading r(String n) => Reading.of(b, n);
final rpm = r('engine_rpm');
final speed = r('gnss_speed_kph');
// CAN for display (project-yukart decision 30); GNSS beside it, to show their difference.
final speed = r('vehicle_speed_kph');
final gnss = r('gnss_speed_kph');
final pedal = r('accel_pedal_pct');
final coolant = r('obd_coolant_temp_c');
final coolant = r('coolant_temp_c');
final lat = r('imu_accel_lat_g');
final lon = r('imu_accel_lon_g');
// The compass's states, from gnss_fix: none → acquiring, 2d/3d → fix, missing → none known.
@@ -85,7 +87,7 @@ class DashPage extends StatelessWidget {
StatBoxMain(
value: speed.fixed(),
unit: 'km/h',
label: 'GNSS SPEED',
label: 'SPEED · GNSS ${gnss.fixed()}',
dim: speed.dim,
),
],