Commit Graph

18429 Commits

Author SHA1 Message Date
discountchubbs 289171fef8 fix chunking 2026-08-02 15:38:02 -07:00
Jason Wen 5305655f78 Merge branch 'master' into deep-rl-maybe 2026-08-02 11:04:24 -04:00
Amy Jeanes 1a07e47228 Tesla: MADS Screen Activation (#1808)
* Tesla: MADS Screen Button Settings

Adds a Tesla vehicle setting (vehicle bus required) to control how many
fingers activate the MADS screen button, or disable it entirely.

Rebased onto current master:
- Migrated the setting metadata from the deprecated params_metadata.json
  (removed in #1862) to the yaml SDUI system: added TeslaMadsScreenButton
  to settings_ui_src/pages/vehicle.yaml and recompiled settings_ui.json.
  Vehicle-bus gating uses the tesla_has_vehicle_bus capability visibility.
- Bumped opendbc_repo to the latest head of sunnypilot/opendbc#459.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JiSH2KAAueUmDe29xvpuAd

* bump

* Tesla: address MADS Screen Activation review feedback

Default TeslaMadsScreenButton to Off for fresh installs and add a param
migration that seeds existing Tesla installs with 3-Finger, preserving the
previous always-on behaviour. Brand resolves from CarPlatformBundle, falling
back to CarParamsPersistent so auto-fingerprinted Teslas are covered too.

Rename the setting to "MADS Screen Activation", hyphenate the finger-count
labels, and reword the description to use <br> (descriptions render as HTML)
with a note that a higher finger count may reduce accidental activations.
Applied both on-device and in sunnylink.

Also fix test_tesla_with_vehicle_bus_uses_param, which broke once
get_mads_limited_brands started reading TeslaMadsScreenButton from the same
blanket params mock, and add coverage for the screen-button-Off path.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X5icDp7zZ49gpyC2mpCfF1

* bump opendbc

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
staging/2026.003.000/2026.08.02-4604
2026-08-01 23:40:52 -04:00
Jason Wen 50b860c928 Reapply "plannerd: check all services for validity (#38341)"
This reverts commit 0265ae5f76.
staging/2026.003.000/2026.08.02-4602
2026-08-01 23:27:36 -04:00
Jason Wen 978ec800fe plannerd & selfdriveStateSP: poll modelV2, relay button state via bitmask (#1893)
* selfdrived: continuous button state and release counters in selfdriveStateSP

* tests and more
staging/2026.003.000/2026.08.02-4600
2026-08-01 23:05:03 -04:00
discountchubbs d733058dee that comment was wrong, its still per model, just compiled at with the input/output shapes 2026-08-01 16:13:28 -07:00
discountchubbs ce488dff50 fix pkl loader test 2026-08-01 16:09:04 -07:00
discountchubbs 2e87e08ba6 back 2026-08-01 15:17:26 -07:00
discountchubbs 785a6baa3d Merge remote-tracking branch 'origin/deep-rl-maybe' into deep-rl-maybe 2026-08-01 15:17:05 -07:00
discountchubbs c22f58dae3 lint be crazy now, man i've been away a while 2026-08-01 15:15:54 -07:00
James Vecellio-Grant 3c9dd2e590 Merge branch 'master' into deep-rl-maybe 2026-08-02 00:09:53 +02:00
discountchubbs d086f83aed no 2026-08-01 15:07:47 -07:00
discountchubbs eef36d8b54 too much fluff 2026-08-01 15:05:31 -07:00
discountchubbs 62e0462662 this is annoying me 2026-08-01 14:58:01 -07:00
discountchubbs ee9ee3a6fc np.random.seed is deprecated, use Generator or default rng instead @nayan 2026-08-01 14:48:11 -07:00
discountchubbs c4a3854dc5 fix macos cabana 2026-07-28 11:24:46 -07:00
nayan ad516e619b simplify everything. 2026-07-28 13:21:44 -04:00
nayan 8c3cd2575f fuckit. dynamic everything. 2026-07-28 13:21:44 -04:00
nayan 3ec226474a fix paths 2026-07-25 20:22:04 -04:00
nayan 273eb9f997 whatever 2026-07-25 18:30:29 -04:00
nayan e143888eb1 realize. that i don't know shit 2026-07-25 18:08:17 -04:00
nayan 8092f13438 read/open - what's the difference 2026-07-25 17:43:59 -04:00
nayan a87788b65c Merge remote-tracking branch 'origin/deep-rl-maybe' into deep-rl-maybe 2026-07-25 17:29:35 -04:00
nayan 4cbe97fd20 hmmmm 2026-07-25 17:29:18 -04:00
Nayan 98254867a9 fuck. i AM blind. or dumb. or both. 2026-07-25 16:49:07 -04:00
Nayan bee1cdd45d i might be blind 2026-07-25 16:47:01 -04:00
nayan 91e40b80d8 wtf. ghostwriter 2026-07-25 16:34:01 -04:00
nayan 110568a9d1 it's a supercombo 2026-07-25 16:28:47 -04:00
nayan bb1b9a27d8 Merge remote-tracking branch 'origin/master' into deep-rl
# Conflicts:
#	openpilot/sunnypilot/modeld_v2/compile_modeld.py
#	openpilot/sunnypilot/modeld_v2/modeld.py
#	openpilot/sunnypilot/modeld_v2/tests/test_combined_pkl_loader.py
#	openpilot/sunnypilot/modeld_v2/tests/test_warp.py
#	openpilot/sunnypilot/modeld_v2/warp.py
#	openpilot/sunnypilot/models/manager.py
#	openpilot/sunnypilot/models/runners/helpers.py
#	openpilot/sunnypilot/models/runners/model_runner.py
#	openpilot/sunnypilot/models/runners/tinygrad/model_types.py
#	openpilot/sunnypilot/models/runners/tinygrad/tinygrad_runner.py
#	sunnypilot/models/helpers.py
2026-07-25 16:12:52 -04:00
nayan 76b21c72cf i don't know what i'm doing 2026-07-25 16:08:15 -04:00
Jason Wen 3a05c03079 ci: no more docker (#1886) staging/2026.003.000/2026.07.25-4596 2026-07-25 15:34:36 -04:00
Eitan fd22de1c9a SCC-M: fix operator precedence in quadratic roots (#1816)
* controls/scc: fix operator precedence in map controller quadratic roots

* not async

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
staging/2026.003.000/2026.07.25-4594
2026-07-25 09:37:18 -04:00
Christopher Haucke ee3583df33 [tizi/tici] ui: Camera offset controls (#1813)
* Camera offset controls

* final

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2026-07-25 09:15:05 -04:00
Jason Wen 7801bdf0cc Reapply "mapd: ignore in plannerd health check (#1880)"
This reverts commit 9163d1cb74.
staging/2026.003.000/2026.07.25-4589
2026-07-25 01:36:05 -04:00
Jason Wen 0265ae5f76 Revert "plannerd: check all services for validity (#38341)"
This reverts commit a9ffebe96e.
2026-07-25 01:27:25 -04:00
Jason Wen 9163d1cb74 Revert "mapd: ignore in plannerd health check (#1880)"
This reverts commit 2c334ede44.
2026-07-25 01:27:11 -04:00
Jason Wen a0cc313fdc version: bump to 2026.003.000 staging/2026.003.000/2026.07.24-4585 2026-07-24 11:36:33 -04:00
Jason Wen 93bb596a2e Sync: commaai/openpilot:mastersunnypilot/sunnypilot:master (#1883) staging/2026.002.000/2026.07.24-4583 2026-07-24 11:18:35 -04:00
Jason Wen 41b14fa595 Merge commaai/openpilot fdd1df79 into sync-20260721 2026-07-24 11:07:06 -04:00
Adeeb Shihadeh fdd1df79fb longitudinal: remove per-car stopping tunes (#38394)
* remove per-car longitudinal stopping tunes

* bump opendbc

* lil more

* lil more

* lil more

* lil more

* revert modeld for now
2026-07-20 19:52:23 -07:00
Adeeb Shihadeh 031b1ad0a3 longcontrol: remove starting state (#38340) 2026-07-20 16:30:42 -07:00
Daniel Koepping b1f2e638de fix branch cleanup burning GH API requests (#38392)
* ci: stop branch cleanup from burning API rate limit

* simpler
2026-07-20 16:00:20 -07:00
Daniel Koepping c20263d985 speedup chunk reading (#38389)
read chunk directly into caller buffer
2026-07-20 14:46:33 -07:00
Daniel Koepping 5472e69e35 New sounds (#38154)
* new sounds

* soundd: fix sound cutoff

* update sounds

* add max warning_immediate variant

* mici: play sounds button in developer settings

* rename sounds

* add complete sound

* update sounds

* raise soundfloor by 5%

* update sounds

* play unused sounds

* update sounds

* bump opendbc

* Revert "play unused sounds"

This reverts commit 47e538da2200e700804714576baa5f8c0f28cdb3.

* Revert "mici: play sounds button in developer settings"

This reverts commit 149141bb8a21bec7a04dc8f231d0b6b9120cc7c2.

* remove unused sounds

* raise soundfloor by 5%

* opendbc

* add space
2026-07-20 14:31:55 -07:00
Jason Wen 2c334ede44 mapd: ignore in plannerd health check (#1880)
* mapd: ignore in plannerd health check

* more
staging/2026.002.000/2026.07.20-4579
2026-07-20 15:05:19 -04:00
Daniel Koepping 78909dac73 soundd: add complete sound (#38390) 2026-07-20 10:50:18 -07:00
Daniel Koepping 24a9b6dae5 profile usb gpu link stability (#38368)
* profile usb gpu link before using

* ci
2026-07-20 10:36:09 -07:00
Jason Wen bf1b93f757 Revert "agnos: split launch for c3 and c3x to support custom agnos" (#1879)
Revert "agnos: split launch for c3 and c3x to support custom agnos (#1186)"

This reverts commit 54174d1e
staging/2026.002.000/2026.07.20-4577
2026-07-20 09:25:49 -04:00
Jason Wen bae7e49626 Sync: commaai/openpilot:mastersunnypilot/sunnypilot:master (#1876) staging/2026.002.000/2026.07.20-4575 2026-07-19 23:51:06 -04:00
royjr 560cde61ae sync: fix upstream conflicts
Co-authored-by: royjr <royjr96@gmail.com>
2026-07-19 23:18:43 -04:00