Commit Graph

19073 Commits

Author SHA1 Message Date
firestarsdog 6a07f58ea6 Remove unnecessary 3-second wait from automatic SLC adoption 2026-10-26 20:38:11 -04:00
firestarsdog 632fa39562 Handle Toyota SLC targets within native cruise limits 2026-10-26 20:38:11 -04:00
firestarsdog 2e395aa714 Align shared SLC actions and simplify common flow 2026-10-26 20:38:11 -04:00
Zeph Leggett 8b4902209c Jetlink: move the warp output when the small model loads
The output used to move after the small model's warmup had linked the
warp to its address, which needed the warp to link again by dropping a
private tinygrad cached property. Had that ever stopped working, the
small model's own warp would have kept writing the freed memory.

modeld now asks the adapter's coherent_warp() (Jetlink's make_coherent
with Jetlink on, off legacy9d) and load_verified_model moves the small
model's warp output before warmup(), as Jetlink's own warp moves its
output before its first call. CatalogWarp only reads the answer
(warp_copied): sent from where it is, or copied out, chosen once.
2026-10-26 19:32:00 -05:00
Zeph Leggett 0701c25b14 Jetlink bf4dc94
make_coherent's contract is one rule: move a buffer before the first call of the JIT that writes it. CREDITS.md and JETLINK.md name the new revision.
2026-10-26 19:31:43 -05:00
firestar5683 f6b2c132fb Fix Ford CAN-FD cluster ownership and parked startup warnings 2026-10-26 19:20:54 -05:00
Zeph Leggett f36b39a68b Jetlink: send the warp from coherent memory on a comma
tinygrad maps the warp's QCOM output write-combined, which the CPU reads
uncached: CatalogWarp spent ~2.9 ms a frame copying the frame out, out
of the 46 ms a host has to answer in. It now moves the output to
IO-coherent write-back memory with Jetlink's warp.make_coherent, as
Jetlink's own warp does, and the link sends straight from it (0.22 ms
measured for Jetlink's warp). The warp has run by then, and tinygrad
bakes a held buffer's address in at link time, so its program links
again on the next call. If the kernel refuses the memory, the frame is
copied out as before, and the adapter's log says which.

TinyJit's per-call input checks are left alone: 0.045 ms a call on a
Mac under this tinygrad, not the ~1 ms they cost under Jetlink's.
2026-10-26 19:04:34 -05:00
Zeph Leggett bf09b8eea4 Jetlink e0257f4
warp.make_coherent is public, for an adapter's own warp: it moves a QCOM
output to memory the CPU reads cached, as Jetlink's warp does.
CREDITS.md and JETLINK.md name the new revision.
2026-10-26 19:04:05 -05:00
Zeph Leggett 6e430242e3 Jetlink: the link's warp goes through the runner's warp_frames
CatalogModelState.warp_frames is the warp branch of run(), which run()
and CatalogWarp now both call, so the link enqueues exactly what the JIT
was captured with and reads npy and input_queues live rather than as
they were when it was built. CatalogWarp binds the output once (the
captured JIT returns the same buffer every call), reuses one pair of
warm-up frames for the probe and frees them, and drops their blob
cache entries. model_warp lets a failure raise without logging it
too: Jetlink logs it as it keeps the small model.
2026-10-26 18:50:12 -05:00
dirwin31 6c9ae11f63 Jetlink: send the small model's warp off legacy9d
Jetlink's stock driving warp is a legacy9d pickle, which a native02e
modeld cannot load, so the link never took over there. The adapter's
model_warp (Jetlink's optional hook since 0605e34) now hands Jetlink
the small model's own camera warp (CatalogWarp) on any other runtime:
the same JIT, inputs and blob cache, read into host memory after each
frame, with a probe at load that refuses an output not read live.
Under legacy9d it returns None and Jetlink loads the stock pickle.

From #253, without its edit to jetlink_repo or the hold tolerance
override.
2026-10-26 18:43:20 -05:00
Zeph Leggett db94a2be1a Jetlink 0605e34
The adapter may now supply the warp the link sends (ModelSide.model_warp,
optional; what it returns is checked against interface.FrameWarp before
the frame loop). Without one, or when it returns None, Jetlink loads the
stock driving warp pickle as before. API stays 3.

CREDITS.md and JETLINK.md name the new revision.
2026-10-26 18:41:10 -05:00
firestar5683 c417e793c5 Add Heatdeath Controls Benchmark 2026-10-26 18:28:20 -05:00
firestar5683 718a2c3ddd Keep SpacePilot open across cold setup and interrupted clock reads
Discard a preempted clock pair and try up to three fresh pairs while
retaining the 1 ms accepted span and all existing freshness/resume gates.
Yield after receive-only decoder construction so normal UI collection
refreshes before full physical admission, Offroad request or input.

Recorded d5 clock failure; reproduced timing regressions; 250 focused
native cases, lint/type checks and independent source/evidence review.
No vehicle commands, device deployment or physical cure claim.
2026-10-26 18:17:20 -05:00
firestar5683 76b5f7e512 Avoid rebuilding the favorites catalog on each tap 2026-10-26 17:36:13 -05:00
firestar5683 5e5fa8d9c1 Preserve EV6 AOL on unassigned cruise CANCEL 2026-10-26 17:21:22 -05:00
firestar5683 36111dfdb6 Preserve Subaru AOL intent through stops 2026-10-26 16:52:11 -05:00
prabhaavp 8ead1ab0f9 Merge pull request #252 from dirwin31:AA-Wireless-Setup
Android Auto: improve wireless adapter setup and pairing
2026-10-26 17:44:33 -04:00
Prabhaav Pillai 6ba879ca3b Preserve the full discovery deadline for slow adapters, clear stale receiver selection when switching setup types, reuse the existing UI spinner, and tighten comments and regression tests. 2026-10-26 17:44:18 -04:00
firestar5683 a9af491104 Preserve HKG AOL authorization across button counter rollover 2026-10-26 16:36:50 -05:00
firestar5683 42a918acc2 Keep Encouragement and Gas Override From Stacking 2026-10-26 16:29:29 -05:00
firestar5683 c604521745 Build final Toyota and Lexus configuration port 2026-10-26 16:26:58 -05:00
firestar5683 09d7e2873e Merge current changes for Toyota publication 2026-10-26 16:25:08 -05:00
firestar5683 5189f468d2 Build Toyota and Lexus configuration parity 2026-10-26 16:25:06 -05:00
Dom 40a23df6be Align damping qualification fixtures and preserve MISRA parameter immutability 2026-10-26 16:23:24 -05:00
prabhaavp 7a38780739 Merge pull request #250 from dirwin31:SGSP-Better-Phone-GPS
Preserve usable phone GPS fixes and enforce measurement freshness
2026-10-26 17:22:14 -04:00
firestar5683 5c78ec40d7 Merge current changes for Toyota configuration parity 2026-10-26 16:19:46 -05:00
firestar5683 c6f00f7a4d Complete Toyota and Lexus configuration parity with Dom 2026-10-26 16:19:46 -05:00
firestar5683 a119dfbae0 Encourage Persistent Clear-Road Hesitation 2026-10-26 16:16:35 -05:00
prabhaavp fc6501364b Improve README.md badges and links
Updated badge links in README.md for better visibility.
2026-10-26 16:57:06 -04:00
firestar5683 1fa5818bb3 Refresh StarPilotHQ Project Homepage 2026-10-26 15:47:38 -05:00
firestar5683 ebfea6b3b7 Build SecOC Yaris stock and alpha support 2026-10-26 15:35:00 -05:00
firestar5683 e672bd30c1 Support SecOC Yaris AOL with stock and alpha longitudinal 2026-10-26 15:33:22 -05:00
Danny 4c37c009b7 Better Bugsink Reporting 2026-10-26 13:25:49 -07:00
firestar5683 ba87dd4c70 Build Subaru angle routing fix 2026-10-26 15:23:09 -05:00
Danny a581b01d84 Revert "Android Auto: restore optional car pairing row for wireless adapters"
This reverts commit 44d9c868b2.
2026-10-26 13:20:57 -07:00
firestar5683 63888e0fd8 Restore Subaru angle steering routing and collision warning checks 2026-10-26 15:20:15 -05:00
dirwin31 44d9c868b2 Android Auto: restore optional car pairing row for wireless adapters 2026-10-26 13:06:37 -07:00
firestar5683 e2a5d6ca66 Build RAV4 Prime AOL and sequential gear fix 2026-10-26 15:06:20 -05:00
firestar5683 8f3be8f6fb Enable key-ready RAV4 Prime AOL in sequential gear 2026-10-26 15:05:09 -05:00
dirwin31 b7fcbfee64 Unify Android Auto setup layouts and add themed pairing progress indicators.
Clarify connection stages across wireless, adapter, USB, and tablet options with regression coverage for progress states and responsive layouts.

(cherry picked from commit 489dad0e7733127c7a9654c9a7491d1ab8a554a4)
2026-10-26 13:00:54 -07:00
dirwin31 a420ff55ed AA: Layout Again 2026-10-26 13:00:52 -07:00
dirwin31 54b2f060e7 AA: Put Messages in Pairing Box, Hide Banner 2026-10-26 13:00:51 -07:00
dirwin31 8822e26d5b Android Auto: Wait Longer for Adapters 2026-10-26 13:00:49 -07:00
dirwin31 1d38987d61 AA: Layout Unification 2026-10-26 13:00:48 -07:00
dirwin31 f7fed1776d AA BT: Fix Pairing Window Request from Galaxy 2026-10-26 13:00:47 -07:00
dirwin31 8d2872bed4 Android Auto: Unify Pages 2026-10-26 13:00:45 -07:00
dirwin31 2141786f05 Android Auto: Unblock Pairing Circumstances 2026-10-26 13:00:43 -07:00
dirwin31 2f7d990597 BT: Show Device List Again 2026-10-26 13:00:42 -07:00
dirwin31 49660054f9 Android Auto: Add support for forgetting selected car during auto-connect retries 2026-10-26 13:00:40 -07:00
dirwin31 4c07adab7d UI: Selector Fixes, Less Duplicate for AA Wireless. 2026-10-26 13:00:39 -07:00