Commit Graph

497 Commits

Author SHA1 Message Date
Daniel Koepping b4a8aa99f9 ui: sync gpu with offroad state (#39053)
ui: show chestnut icon before selfdriveState

(cherry picked from commit 8d1865bdc69d605821db7227500079329fdfd550)
2026-10-14 13:05:08 -05:00
firestar5683 3e96c9f4f2 Repair replay and Galaxy test contracts 2026-10-14 13:05:08 -05:00
firestar5683 6ef0150b0c Keep planner inputs fresh during settings refresh 2026-10-14 11:01:09 -05:00
firestar5683 fc94b2c274 Preserve fresh control authority during lag recovery 2026-10-14 09:48:36 -05:00
firestar5683 6b857c377b Reduce healthy driver-monitoring checks 2026-10-14 09:34:52 -05:00
firestar5683 5857c59aef Restore in-car Force Offroad controls 2026-10-14 09:12:10 -05:00
firestar5683 5d64e51af4 Remove notes 2026-10-14 09:04:12 -05:00
firestar5683 8079b9cfef Clarify lane centering strength scale 2026-10-14 09:00:54 -05:00
whoisdomi d3a1e4d373 Acceleration profiles fix 2026-10-14 08:43:53 -05:00
firestar5683 526f049f64 Revert "Restore planner isolation and prioritize audio playback"
This reverts commit 2d6c9cb241.
2026-10-14 08:34:59 -05:00
firestar5683 2d6c9cb241 Restore planner isolation and prioritize audio playback 2026-10-14 08:25:15 -05:00
firestarsdog c1a7517ff9 On device replay 2026-10-14 04:31:12 -04:00
firestar5683 9891fcae0b Make offline map tests checkout independent 2026-10-13 23:57:52 -05:00
firestar5683 b0dd101b38 Qualify Galaxy settings and control defaults 2026-10-13 23:39:58 -05:00
firestar5683 72ef147f07 Complete Galaxy settings and vehicle controls 2026-10-13 23:07:13 -05:00
firestar5683 a019b9788f Trace SPI lock holders and control-loop waits 2026-10-13 21:07:39 -05:00
firestar5683 f34a9c02f7 Refine speed fonts and hidden gauge spacing 2026-10-13 20:43:16 -05:00
firestar5683 2be57378d6 Repair release checks and run mutation locally 2026-10-13 20:34:43 -05:00
firestar5683 db1c5a7445 Fix startup locks and restore onroad behavior
Release inherited Params locks correctly across fork and exec. Preserve qualified lateral armed intent through temporary faults, restore the Big UI CEM gauge, improve speed typography, and hide unavailable CEM initialization text. Include matching device artifacts and focused regression coverage.
2026-10-13 19:44:58 -05:00
whoisdomi 712ec2c0f7 CEM standstill, road data, and flicker left 2026-10-13 14:53:25 -05:00
firestar5683 d9e6fef798 Preserve CEM hold across clock sampling 2026-10-13 14:41:43 -05:00
firestar5683 304b0105c1 Trace planner publication delays 2026-10-13 14:34:10 -05:00
firestar5683 eda46d9ecc Correct CEM clock sampling bounds 2026-10-13 14:21:51 -05:00
firestar5683 f54ba5711c Keep CEM recovery cutoff stable 2026-10-13 10:37:45 -05:00
firestar5683 566838a019 Preserve temporary steering intent and CEM settings 2026-10-13 10:20:08 -05:00
whoisdomi 7d84f27fbb CEM rejection logging 2026-10-13 09:26:03 -05:00
firestar5683 0cc8d91b69 Add vehicle-specific Panda wake settings 2026-10-13 07:08:18 -05:00
firestar5683 2d321aeb6c Preserve stock lateral intent during temporary lag 2026-10-13 04:07:50 -05:00
firestar5683 4dd0036141 Preserve control recovery during temporary lag
Keep existing ordinary controls under the normal soft-disable countdown when current vehicle data and native permissions remain healthy. Preserve original command deadlines and qualify retained steering intent against completed publication provenance.
2026-10-13 03:27:31 -05:00
firestar5683 b2d62aa85a Update Card fixtures and keep startup traffic fresh 2026-10-12 23:41:03 -05:00
firestar5683 6f67fde67c Publish vehicle state before radar processing 2026-10-12 23:12:24 -05:00
firestar5683 8275858f4e Restore ordinary control recovery after source gaps 2026-10-12 22:48:33 -05:00
firestar5683 fefb631774 Preserve lateral intent through temporary lag 2026-10-12 21:39:39 -05:00
prabhaavp c7b990a330 Merge pull request #216 from dirwin31:Stardust-PR-7
AA Mobile Layout Edit Tweaks
2026-10-12 20:56:21 -04:00
Prabhaav Pillai 3710b49280 blind-spot camera settings and UI feedback in OnroadLayoutPage 2026-10-12 20:54:27 -04:00
dirwin31 f05eb234c2 Duplicated CSS in widget removal dialog styling and Glow Line 2026-10-12 17:37:35 -07:00
firestar5683 2cb6e18f0b Instrument CAN receive scheduling boundaries 2026-10-12 19:17:00 -05:00
dirwin31 ccd85013cd Allow the comma display to sleep while Android Auto stays active
Add the off-by-default TurnOffCommaScreen preference and retain display ownership and wake behavior, with display tests.
2026-10-12 16:46:11 -07:00
dirwin31 33aec5977c Refine Android Auto display controls and blind-spot camera popups
Support blind-spot camera popups through the Android Auto layout, remove the redundant BSM camera toggle, and separate projection settings from comma-screen preferences. Refine pinned editor corners and widget removal dialogs.
2026-10-12 16:46:11 -07:00
dirwin31 aee88a2d40 Make the Galaxy layout editor compact and touch-friendly
Pin the preview and save bar, tighten display rows, and group color controls for phone screens. Stabilize touch selection, resizing, drag autoscroll, and menu dismissal.
2026-10-12 16:46:10 -07:00
firestar5683 834705eae8 Reconcile control inputs before authority decisions 2026-10-12 18:43:25 -05:00
firestar5683 a7e7ba591c Restore inherited Card worker scheduling 2026-10-12 18:33:34 -05:00
Dom fdd8bbfdf1 aol: retain established intent across newly received expired combined proof
Handle a strictly newer same-identity combined proof first consumed after
its output lease expires. Require an established healthy combined Ioniq6
baseline, valid fresh-at-publication source, healthy current native requests
and permission for both axes, and unchanged original retention bounds.

Advance only accepted signature/sequence. Do not renew source/native clocks,
extend output leases, grant expired commands, rearm after genuine disarm,
or automatically restore longitudinal control.

Validation: 940 tests on exact f04b source, 19 additional independent cases,
783 unchanged imported modules plus two intended files, Ruff and ty pass.
A prior run with stale test-fixture provenance is retained and superseded.
Road88 supports the mechanism; its exact consumed proof is unlogged.
This repairs intent retention, not the underlying producer delay.
Update protected inventory receipt.
2026-10-12 15:53:11 -06:00
Dom 091f640ac3 card: move conditional settings reads off the control loop
Use the existing settings worker for proactive conditional-mode source
verification. Adopt one immutable snapshot per Card frame, with verified
age strictly below 500 ms. Busy, invalid, or stale snapshots defer
conditional proposals without disengaging ordinary control or AOL.

Preserve fresh per-request SafeMode and gesture mapping checks. Replay
retains its source-clock synchronous owner. Polling phase changes; no
blanket one-second cached permission is added.

Validation: 353 aggregate tests, independent boundary and actual-control
continuity checks, exact source imports and inventory receipt verification.
Measured conditional source reads on main drop from 36 to zero over a
three-second initialized fixture; worker reads increase proactively.
This removes a blocking path, not a demonstrated cure for all road stalls.
2026-10-12 15:38:20 -06:00
Dom 2878c992b2 diagnostics: capture bounded Ioniq control timing and latch-clear evidence
Enable compact Card phase capture for qualified Ioniq6 production runs,
including unlatched ordinary control. Record publication gaps, source and
receive clocks, thread CPU, settings-worker context, and latch-clear reasons.

Add bounded SelfdriveD phase, admission, original-proof and Ratekeeper
snapshots with off-thread reporting and suppression counters. Preserve
control predicates, original deadlines, thresholds and scheduling policy.

Validation: 583 combined tests pass on unchanged rerun; an initial host
wall-time microbenchmark failure and isolated pass are retained. Exact-source
import audits and independent review pass. Host overhead is measured, not
a target-device bound. This adds diagnostics, not a producer-lag fix.

Update protected source inventory receipt.
2026-10-12 14:49:44 -06:00
Dom f169ca0f4c selfdrived: check bounded proof deferral after intent drain
Use the same post-drain clock for source-expiry deferral and intent
admission, avoiding premature state disable when draining crosses the
source freshness cutoff. Preserve the original proof and deadline.

Add cutoff, follow-through, and restrictive-input regression coverage.
Update the protected source inventory receipt.

Validation: 416 focused aggregate tests and 79 independent boundary and
restriction checks; exact source import audits, Ruff, and ty pass.
This addresses a reproduced admission race, not underlying producer lag.
2026-10-12 14:19:45 -06:00
Dom 6c4dde8a07 Restore Ioniq 6 friction threshold and error behavior only
Exclude HYUNDAI_IONIQ_6 from the recent Hyundai CAN-FD highway friction wrapper, restoring original friction threshold/error passthrough in both controller modes. Preserve all steering limits, ramp rates, startup PID settings, scalar calibration, other vehicles, native assets and dropout repairs.

Update regression expectations and add exact Ioniq friction passthrough coverage. Focused suite: 22 passed; 559 repository Python imports match exact parent plus the three intended files. Independent numerical checks: 80,640 comparisons. Protected inventory receipt independently verified. This is the user-requested tuning revert, not a lag fix or on-device qualification.
2026-10-12 12:52:39 -06:00
Dom e3446423d6 Resolve matched availability recovery before failing the pending join
A recovered axis and its healthy event can arrive through separate sockets in either order. After a previously verified availability pause, resolve an exact fresh healthy LAT-only recovery pair before treating the pending first half as unmatched failure.

Require the original pending deadline, exact newer event association, unchanged session/producer/epoch/inventory, fresh source and positive native LAT authority. Preserve failed-state, physical cancellation, restrictive events and native-denial handling. This only clears join bookkeeping; it grants no output and extends no lease.

Add 24 regression cases. Exact parent fails four split-recovery positives while together-delivery and restriction controls pass. Candidate focused suite: 396 passed; independent adversarial review: 58 passed. Import inventory and protected receipt verified. Host qualification is not road verification; separate lag/producer stalls remain unresolved.
2026-10-12 12:42:54 -06:00
Dom fb38c11888 Preserve fresh AOL renewal during an already-held brake
Recognize the existing qualified Ioniq lateral-only held-brake override when checking fresh-source renewal after an old output deadline. Exempt only recurring pedalPressed USER_DISABLE; retain new physical edges, other disable events, source/intent/session validation, native permission checks, and all expired-output enforcement. Do not extend leases or reenable longitudinal control.

Add 28 owner/Controls/Card regression cases and update two old held-brake handoff expectations. Clean serial focused suite: 369 passed; independent adversarial review: 56 passed. Exact parent import inventory and protected receipt verified. Host validation is not device/road qualification; separate lag and producer-stall failures remain under investigation.
2026-10-12 12:29:47 -06:00
Dom 3cda7e5ac9 Reconcile fresh queued input after the previous axis packet expires
Do not gate nonblocking carState reconciliation on an old output packet's deadline. Process queued physical samples once before selected-source owners and the state-machine decision; retain the existing total 32-envelope bound, freshness/native/intent checks and no blocking wait beyond the old deadline.

Controlled route52-shaped retained-timeout schedules reproduce stale-selected-carState/fresh-intent rejection on the parent, including ordinary unlatched critical disable. Candidate consumes the fresh pair before deciding. 341 focused tests and 84 independent adversarial cases passed; exact-source import audit, Ruff, type and inventory checks passed.

No lease extension, scheduling rewrite or native artifact change. Separate Card production gaps remain unproven fixed.
2026-10-12 12:06:30 -06:00