Commit Graph

19275 Commits

Author SHA1 Message Date
Armand du Parc Locmaria c0a2a98e68 long mpc uses both leadOne and leadTwo (#39525) 2026-12-02 14:53:57 -07:00
rav4kumar d7f5c489e7 Merge branch 'master' into toyota-bsm 2026-11-30 11:14:47 -07:00
James Vecellio-Grant 1d8788e9d5 bug: camera offset migration from old branches (#2127) staging/2026.003.000/2026.11.29-5098 2026-11-29 15:57:23 -05:00
Jason Wen 5966b94504 pandad: wait for non-empty CarParams (#2126) staging/2026.003.000/2026.11.29-5096 2026-11-29 10:51:59 -05:00
Jason Wen 64bce9668c ci: misc cleanup (#2122) staging/2026.003.000/2026.11.29-5092 2026-11-29 08:36:23 -05:00
Jason Wen b6ab2aa2a7 controls: remove sunnypilot accel boost (#2124) staging/2026.003.000/2026.11.29-5089 2026-11-29 00:39:10 -05:00
Jason Wen cb72553e68 ci: fix and check big warp frame size (#2123)
* ci: match big warp frame size with stock modeld

* ci: check big warps against stock modeld
2026-11-29 00:34:30 -05:00
nitrobass24 1ee68c19e0 statsd: fix StatLogSP hang at exit (#2118)
* statsd: close comma_statlog's socket before terminating the shared zmq context

StatLogSP and its comma_statlog both connect on zmq.Context.instance().
__del__ ran super().__del__() first, which calls term() on that shared
context while comma_statlog's socket is still open, and term() blocks
until every socket on the context is closed. A process that had sent a
stat hung at exit.

Close comma_statlog's socket first, and terminate the context once.

Co-authored-by: tonesto7 <1835933+tonesto7@users.noreply.github.com>

* cleanup

---------

Co-authored-by: tonesto7 <1835933+tonesto7@users.noreply.github.com>
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
staging/2026.003.000/2026.11.29-5084
2026-11-28 23:29:56 -05:00
Jason Wen 4886d4ff5e Sync: commaai/openpilot:master → sunnypilot/sunnypilot:master (#2121) staging/2026.003.000/2026.11.29-5082 2026-11-28 22:35:03 -05:00
Jason Wen 106221e913 Merge commit 'bcb9f1f6e1f2bf4f0200b6b10213667a61d8d80a' into sync-20261128
Co-authored-by: discountchubbs <alexgrant990@gmail.com>
2026-11-28 21:31:36 -05:00
Harald Schäfer bcb9f1f6e1 alfred: install branch before release in install job (#39507) 2026-11-28 13:59:32 -08:00
Adeeb Shihadeh cd230febd6 bump ty to 0.0.112 and fix the type errors it finds (#39506)
* fix ty 0.0.112 errors outside the ui

* bump ty to 0.0.112, drop its ignores

* ty: cleaner fixes
2026-11-28 12:57:26 -08:00
Adeeb Shihadeh acedc29bc0 ui: fix the type errors newer ty finds (#39505) 2026-11-28 12:14:17 -08:00
Adeeb Shihadeh afa371c088 athenad: run each connection in its own process for instant network changes (#39500)
* athenad: run each connection in its own process

* athenad: review fixes

* athenad: cleanup and adversarial test fixes

* athenad: sol review fixes
2026-11-28 12:10:16 -08:00
Adeeb Shihadeh be6af3676f raylib typing fixups (#39503) 2026-11-28 11:58:38 -08:00
Jason Wen 55b319248e ci: update prebuilt build (#2117) staging/2026.003.000/2026.11.28-5078 2026-11-28 13:26:15 -05:00
Adeeb Shihadeh ef13da2e77 long mpc: add acados solver type stub so it type checks without a build (#39502) 2026-11-28 09:56:42 -08:00
Adeeb Shihadeh 643012f9d4 misc cleanups (#39501) 2026-11-28 09:46:33 -08:00
rav4kumar 5fe5ec7ad1 ref 2026-11-28 10:21:27 -07:00
rav4kumar aa9bc9ddd1 Merge remote-tracking branch 'origin/master' into toyota-bsm 2026-11-28 10:11:53 -07:00
Armand du Parc Locmaria 7837414753 long mpc: use model predicted lead traj (#39445)
* long mpc: use model predicted lead traj

* no fix for now

* adv test

* aleak residual

* fallback

* clip model accel

* just use model predicted accel

* clip model predicted accel before adding radar residual

* tune

* rename constants

* unused extrapolate

* rm useless checks

* clip model lead like we clip radar lead

* don't need those

* dedupe

* cleanup

* cleanup

* plot on a row

* test adv maneuvers on all follow distances

* cleanup

* simulate aLeadTau

* tune bounds for wrong model

* clip fused to -10, 20 iters

* keep stock acc behavior unchanged

* touch one less file

* cleanup

* codespell

* simplify report

* more cases
2026-11-28 02:02:32 -08:00
Jason Wen 6b3ac12762 ci: new age to build default models (#2116)
* ci: new age to build default models

* ci: compile big warp CPU kernels on device

* unhooked mock builds

* bump tinygrad

---------

Co-authored-by: discountchubbs <alexgrant990@gmail.com>
2026-11-28 01:25:58 -05:00
Harald Schäfer db01481db1 Test fresh openpilot installs on mici (#39492)
* Test fresh openpilot installs on mici

* Run the installer with the AGNOS app's resource limits

* Keep the clean install in the device app slice

* Exercise a bucket-only LFS object in the mici install test

* Revert "Exercise a bucket-only LFS object in the mici install test"

This reverts commit 1bd772d3afd8523784c8855e8adc61dabe9f2f07.

* Simplify the fresh mici installer test

* Run the mici install test directly from Alfred

* Remove installer test comment
2026-11-27 21:50:56 -08:00
James Vecellio-Grant 7f074bfa74 modeld_v2: custom model handling (#2097)
* modeld_v2: emu

* mock amd: x86 hw fma

* serve over libusb

* oop

* cache

* emu cache

* cache by cpu instruct

* parity cache

* replay check

* emuuuu

* rm

* bump

* emu

* mod9fa084ee42

* dh pulse renewel

* m8f

* U5e18253c-c598-496d-bd1a-28e1de4c9257/40960/3e36a15d-4d18-40ea-9a84-cb158b9f5c4a/16384

* fixed : U27feb776-85c0-4e94-843a-94d63ce14ae5/40960/3b99f0b7-0949-43a9-9546-444429aac344/16384

* 4469dc61-4595-4bcd-9850-5bb06113cf68/40960/a5b519de-178e-4c14-9da1-e27eaad0a151/16384

* cyan + orange

* lightnet4

* lowspeed

* tv1

* christmas

* jazz hands

* ts1g

* priority 1

* chd_torch_mod9k_rn2_lc20_ln13b_chss6_c6

* lc24

* chd_torch-mod9k-n2-lc28-ln13b-chss6-c6

* chss15+rule_net26

* fallback to openpilot_models

* no lag

* no dynamo

* no floor

* cheap fix

* Revert "cheap fix" and apply real fix
model: 3d88feca-0254-1159-e3bd-269e57036f63/16384

* fix stuff

* faster release

* fast green

* off policy lights

* speedy lights

* zero speed limit input

* lint

* Update modeld.py

* Delete .github/workflows/chestnut-build-parity/action.yml

* move blendful out

* rm for now

* converter: new tinygrad names

* converter: new tinygrad externs
2026-11-28 00:47:27 -05:00
Jason Wen efad504537 Sync: commaai/openpilot:master → sunnypilot/sunnypilot:master (#2094) 2026-11-27 23:26:10 -05:00
James Vecellio-Grant 5ba10b090d modeld_v2: tinygrad emulator support (#2096)
* modeld_v2: emu

* mock amd: x86 hw fma

* serve over libusb

* oop

* cache

* emu cache

* cache by cpu instruct

* parity cache

* replay check

* emuuuu

* rm

* bump

* emu

* change cache to hf

* ci: native arm qcom mock build

Run qcom mock builds on ubuntu-24.04-arm so the qcomcl compiler loads in-process instead of under qemu, keep tinygrad's compiled kernels between builds, and skip the timing-only replay on mock builds.

* Skip commaai checkout option

A from_sunnypilot input, ticked by default on manual runs, checks the model ref out of sunnypilot/sunnypilot directly instead of failing on commaai/openpilot first.

* Bump tinygrad

* Skip extra mock replays

* Bump tinygrad

* model fetch fallback

* lfs bucket fetch

* Update build-single-tinygrad-model.yaml

* Update sunnypilot-build-model.yaml

* false default

* Update test_models.yml

* not needed anymore

* drop registry load test

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2026-11-27 23:03:37 -05:00
Jason Wen 24aba1d40f Merge commit 'c65119ce14e9d2d1f896010283da5a72cb84ecb5' into sync-20261126 2026-11-27 22:36:24 -05:00
Harald Schäfer e7d349f89f Process replay: remove the cruise jerk RMS check (#39489)
* Process replay: measure jerk over recorded cruise windows

* Process replay: remove the cruise jerk RMS check
2026-11-27 17:30:15 -08:00
Adeeb Shihadeh a7c2a1f1dd bump tinygrad (#39484) 2026-11-27 16:47:43 -08:00
Adeeb Shihadeh 9e9067d5cf model replay: don't cache master's ref (#39487) 2026-11-27 16:35:31 -08:00
Adeeb Shihadeh c86429dfd7 remove device permission workaround, AGNOS does it now (#39485) 2026-11-27 16:01:18 -08:00
Adeeb Shihadeh f37cf702dd prep for mainline kernel (#39481) 2026-11-27 15:25:46 -08:00
Adeeb Shihadeh bfa224d108 ui: forward only raylib's warnings past window setup (#39482) 2026-11-27 15:25:20 -08:00
Adeeb Shihadeh c65119ce14 update release notes 2026-11-26 15:13:09 -08:00
Jimmy 8ca7fef60d better personalities: boost the model's acceleration on standard/aggressive (#39248)
* replace accel boost with per-personality AccelBoost

* rename AccelBoost lift to bias

* undo reverting the 1 s cruise accel filter (#39266)
2026-11-26 14:58:55 -08:00
Adeeb Shihadeh 40aa55877c bump opendbc (#39468) 2026-11-25 16:51:50 -08:00
Adeeb Shihadeh d474328f6d ui: tizi training guide refresh (#39467) 2026-11-25 16:43:53 -08:00
Nick 81d479c4d2 mici: keep long indicator through ignition (#39466) 2026-11-25 14:06:50 -08:00
YassineYousfi c162fdcc02 Crumbly Cheddar Model (#39451)
b387361f-2abe-4fd3-b341-2f920dcd4aea/1
2026-11-25 13:51:46 -08:00
Nick e5f93ab0aa mici: add initial max speed button icon (#39462)
seomthign feels weird about the button label wording, but idk
2026-11-25 02:41:42 -08:00
Nick 14bd9ef0c2 mici: better alert color clarity on sidebar icons (#39461) 2026-11-25 02:26:51 -08:00
Nick ce4670cad4 mici: return onroad fade transitions to previous generic speed (#39460)
retains the hysteresis, 0.3s, after overriding to address flickering
2026-11-25 01:23:47 -08:00
Nick 9a3ab49474 mici: show path and lead unless openpilot can't drive (#39459) 2026-11-25 01:01:21 -08:00
Jason Wen 6732fcc52a bump opendbc and update CARS.md staging/2026.003.000/2026.11.25-5061 2026-11-25 03:12:54 -05:00
Nick bd02b7a6bc ease wheel angle on ignition change (#39458) 2026-11-24 23:36:03 -08:00
Nick fc05bc918a mici: retouch lead car and distance indicator (#39456)
- new distance/personality bar assets, car and bars rescaled and repositioned to be more readable
- white car while openpilot has a lead, grey without one
- remove all green icon states and logic behind them
- lit and dim states more consistent with other greys in the UI
2026-11-24 22:53:34 -08:00
Nick 4840886df5 fix stock acc speed dial icon
was exported incorectly in original PR
2026-11-24 22:20:22 -08:00
Jason Wen 1d23066201 bump opendbc and update CARS.md staging/2026.003.000/2026.11.25-5059 2026-11-25 00:55:35 -05:00
Nick 158555d9cc mici: speed dial icon for stock ACC (#39455) 2026-11-24 21:51:57 -08:00
Nick 4813903daa mici: clean up onroad wheel colors (#39452)
Remove the wheel glow and match the center highlight to the Green Glow / Orange Glow styles (50% white at center).
2026-11-24 21:33:19 -08:00