Navigation: arrived 30 m from the end (banner, drive mode), navigating on past it (the reroute turns back); the next maneuver's lanes from 1 km or 45 s at the speed driven, in drive mode a cell under the maneuver over the map ("ahead" in the profile, shown only with something in it) with the next traffic signal; signals with no route: /api/road also routes 1.5 km straight on from the last fix and gives that way's signals, the nearest one in front shown. TODO: the CAN GNSS follow done (the LTE tracker a layer to switch on), any tracker point followable later
CI / check (push) Successful in 1m22s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-12-03 17:57:27 +01:00
1 parent ad975bcf62
commit a6158f4083
7 files changed
+110 -15

No files matched your search

+8
View File
@@ -3614,6 +3614,14 @@ html:not(.driving) .drive-cell { display: none; }
.drive-cell--limit { color: var(--sign-ring); }
.drive-cell--maneuver,
.drive-cell--compass { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
/* under the maneuver, over the map: the lanes (bigger than the desktop's) and the next signal */
.drive-cell--ahead { position: relative; z-index: 2; align-self: start; height: var(--cell, 80px); flex-direction: row; align-items: center; justify-content: center; gap: calc(16px * var(--s, 1)); }
.drive-cell--ahead[hidden] { display: none; }
.drive-ahead__lanes svg.dash-lane { width: calc(40px * var(--s, 1)); height: calc(54px * var(--s, 1)); }
.drive-ahead__signal { display: flex; align-items: center; gap: 8px; font-size: calc(24px * var(--s, 1)); font-weight: 700; font-variant-numeric: tabular-nums; }
.drive-ahead__signal .dash-signal { width: calc(14px * var(--s, 1)); height: calc(36px * var(--s, 1)); background:
radial-gradient(circle at 50% 17%, #e53935 28%, transparent 31%), radial-gradient(circle at 50% 50%, #fbc02d 28%, transparent 31%),
radial-gradient(circle at 50% 83%, #43a047 28%, transparent 31%), #222; }
.drive-cell--maneuver .dash-banner__icon { width: calc(42px * var(--s, 1)); height: calc(56px * var(--s, 1)); }
.drive-status__brand { font-size: calc(14px * var(--s, 1)); letter-spacing: 0.12em; }
.drive-status--ok { color: var(--inst-ok); }