Commit Graph

19535 Commits

Author SHA1 Message Date
infiniteCable2 3cd75c7a32 Merge branch 'master' of https://github.com/sunnypilot/sunnypilot 2026-08-02 10:17:32 +02: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>
2026-08-01 23:40:52 -04:00
Jason Wen 50b860c928 Reapply "plannerd: check all services for validity (#38341)"
This reverts commit 0265ae5f76.
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
2026-08-01 23:05:03 -04:00
infiniteCable2 0d4e1cb7f5 vw acc hud scaling fixes 2026-07-29 19:33:47 +02:00
infiniteCable2 9920eb8e87 vw dbc fixes 2026-07-29 17:14:22 +02:00
infiniteCable2 310d76091a VW Custom Starting State Fault Prevention 2026-07-28 23:11:46 +02:00
Jason Wen 3a05c03079 ci: no more docker (#1886) 2026-07-25 15:34:36 -04:00
infiniteCable2 38370afda0 Revert "optimize data quality curvatured"
This reverts commit d8100ab573.
2026-07-25 21:21:45 +02:00
infiniteCable2 d8100ab573 optimize data quality curvatured 2026-07-25 21:10:47 +02:00
infiniteCable2 e8086a0ec7 Update opendbc_repo 2026-07-25 19:34:47 +02:00
infiniteCable2 09f191d0a0 various fixes after upstream sync 2026-07-25 18:39:58 +02:00
infiniteCable2 3c983e5cdd Merge branch 'master' of https://github.com/sunnypilot/sunnypilot 2026-07-25 18:05:31 +02:00
infiniteCable2 fdecc30e15 correctly point to master 2026-07-25 17:08:52 +02: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>
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.
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
infiniteCable 44bc7cd879 Upstream-compliant extensibility (#22)
* custom data handling

* cleanups

* cleanup

* Update opendbc_repo

* fix missing CarParamsIC handling

* ic srv list and duplicate sp cleanup

* divide lists for better visibility

* fix curvatured, missing services, split lists, cleanup unneccessary

* curvatured time correctness after custom IC structure introduction

* hint for future data quality adaption

* point to master before merge
2026-07-24 23:34:34 +02:00
Jason Wen a0cc313fdc version: bump to 2026.003.000 2026-07-24 11:36:33 -04:00
Jason Wen 93bb596a2e Sync: commaai/openpilot:mastersunnypilot/sunnypilot:master (#1883) 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
infiniteCable2 7db0b550c8 Update opendbc_repo 2026-07-21 21:40:59 +02:00
infiniteCable2 2cdd8b0551 hide force update after update 2026-07-21 18:37:58 +02:00
infiniteCable2 9d0c205a44 fix datatype 2026-07-21 18:29:13 +02:00
infiniteCable2 bc3537c224 Update opendbc_repo 2026-07-21 18:16:41 +02:00
infiniteCable2 16ebeb7291 Update opendbc_repo 2026-07-21 18:02:30 +02:00
infiniteCable2 479c062738 Update opendbc_repo 2026-07-21 17:55:20 +02:00
infiniteCable2 5c8fae0a37 fix imports 2026-07-21 17:25:35 +02:00
infiniteCable2 85dd8e0586 fix imports 2026-07-21 17:11:27 +02:00
infiniteCable2 8ae2c94704 Update opendbc_repo 2026-07-21 17:02:22 +02:00
infiniteCable2 2ca9e0d2df Update opendbc_repo 2026-07-21 15:19:09 +02:00
infiniteCable2 971f49e830 remove duplicate struct 2026-07-21 15:04:33 +02:00
infiniteCable2 680b16daa5 adaptions after sync 2026-07-21 14:39:13 +02:00
infiniteCable2 9f5289e297 Merge branch 'master' of https://github.com/sunnypilot/sunnypilot 2026-07-21 14:38:14 +02: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
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
infiniteCable2 ad4770589b Reevaluation of Long Control 2026-07-20 19:18:55 +02:00
infiniteCable2 708ea218ef Restore upstream LEAD_DANGER_FACTOR 2026-07-20 19:18:13 +02: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
2026-07-20 09:25:49 -04:00
Jason Wen bae7e49626 Sync: commaai/openpilot:mastersunnypilot/sunnypilot:master (#1876) 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
Adeeb Shihadeh d9596fa998 gc old athena and uploader migration code 2026-07-19 14:55:42 -07:00