Commit Graph

16431 Commits

Author SHA1 Message Date
Jason Wen 3c0d16ae69 less 2025-09-09 23:41:32 -04:00
Jason Wen c5d95f0e8f add carstateSP 2025-09-09 23:34:26 -04:00
Jason Wen 8f8561b88d already happens while in enabled 2025-09-09 23:00:43 -04:00
Jason Wen 6b217a0d10 update event 2025-09-09 16:55:14 -04:00
Jason Wen 2ac51c182b fix events 2025-09-09 16:37:23 -04:00
Jason Wen 183896f01a move around 2025-09-09 11:05:55 -04:00
Jason Wen c928e32c04 fix 2025-09-09 02:53:37 -04:00
Jason Wen 8ae9974988 more lint 2025-09-09 02:38:15 -04:00
Jason Wen e217604b20 lint 2025-09-09 02:14:07 -04:00
Jason Wen 1fd2a8ca1d no longer needed 2025-09-09 02:08:14 -04:00
Jason Wen 29ff34821c more resolver refactor 2025-09-09 02:04:24 -04:00
Jason Wen 51d2d7d5f5 turn off debug 2025-09-09 01:43:44 -04:00
Jason Wen bf64fa29f7 refactor speed limit resolver 2025-09-09 01:43:38 -04:00
Jason Wen 20eca71fc5 v_target 2025-09-09 01:04:07 -04:00
Jason Wen 27e112e70c comments 2025-09-08 22:53:03 -04:00
Jason Wen 1365d7925c directly return statuses 2025-09-08 22:52:13 -04:00
Jason Wen f6b855655a refactor new session check 2025-09-08 22:46:07 -04:00
Jason Wen 44b2e3dff3 refactor preactive timeout check 2025-09-08 22:36:32 -04:00
Jason Wen 6278b9000c one method state machine 2025-09-08 22:27:24 -04:00
Jason Wen 014213d867 typo 2025-09-08 21:09:25 -04:00
DevTekVE 95f75ecf29 Merge branch 'master' into feature/slc 2025-09-08 12:17:37 +02:00
Jason Wen 698e0ca00f migration: new branch names (#1225)
* migration: new branch names

* more migration

* update channel type

* no more var

* update

* more

* more
staging/0.10.1/2025.09.08-2999
2025-09-07 23:23:03 -04:00
Jason Wen ff4d1923f0 tici: fix staging root updates (#1223) staging/0.10.1/2025.09.06-2994 2025-09-06 18:46:10 -04:00
Jason Wen 3a91ae08a9 update: actually detect device type as TICI (#1221) 2025-09-06 18:03:16 -04:00
Jason Wen b161764b1e update: sunnypilot branch migrations for tici (#1212)
* update: sunnypilot branch migrations for tici

* block onroad and notify

* type

* check channel type

* update

* ui init

* no search and locked list for tici

* whenever available
2025-09-06 15:26:32 -04:00
Jason Wen 7057c57419 ui: cleanup cereal event params parsing (#1219)
* Revert "bugfix: streamline LiveDelay parameter loading with safe handling (#1204)"

This reverts commit 288a5e14da.

* ui: use AlignedBuffer for cereal data processing for Models panel

* align

* separate

* split

* event it

* no more backup

* Revert "no more backup"

This reverts commit fa66ce5e77.
2025-09-05 20:51:58 -04:00
DevTekVE 7d4df73ea5 hotfix: model fetcher warning instead of exception when fetching fail 2025-09-05 14:42:08 +02:00
James Vecellio-Grant 29fe152bd3 modeld_v2: desire rename and add many parts from thneed modeld (#1197)
* Add model metadata lookup and update desire handling

* Bump selector version to 10

* meh

* Refactor shape mode parameters for desire handling in test buffer logic

* loop more models

* Refactor buffer handling for temporal inputs and streamline desire updates

* Refactor lateral control input handling and remove unused code
2025-09-04 22:26:59 -04:00
Jason Wen 31918c067a events: add sunnypilot/openpilot to remote origin check (#1216)
events: add sunnypilot/openpilot to remote origin check
2025-09-04 22:22:48 -04:00
Jason Wen daf5ea2783 update: remove git cleanup in finalized stage (#1210)
* updater: remove git cleanup in finalized stage for quicker updates

* nah
2025-09-04 22:10:08 -04:00
github-actions[bot] fd7295c980 [bot] Update Python packages (#1214)
Update Python packages

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-09-04 14:31:01 -04:00
Jason Wen 220cfff04d ci: skip uv lock upgrade on forks (#1213) 2025-09-04 14:29:11 -04:00
Jason Wen ee0fb6bf8e Revert "[bot] Update Python packages" (#1211)
Revert "[bot] Update Python packages (#1201)"

This reverts commit 0cd2bbf6c0.
2025-09-04 14:19:31 -04:00
github-actions[bot] 0cd2bbf6c0 [bot] Update Python packages (#1201)
Update Python packages

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-09-04 10:08:51 -04:00
DevTekVE 0871abcf55 bugfix: fix fetching params for sunnylink and backup (#1177)
* Hotfix for the params stuff until I rework this properly and leverage the new data types

* Revert "Hotfix for the params stuff until I rework this properly and leverage the new data types"

This reverts commit c6031b29d92d3ff5b679ffce3ba53611bb2dba0e.

* refactor: enhance getParams function to support JSON and bytes types with optional compression

* refactor: add TODO for enhancing server support of metadata in sunnylinkd.py

* lint and clean

* refactor: update value handling in getParams to return decoded values for JSON serialization

* refactor: simplify params_dict initialization by removing type hint

* refactor: update response handling in getParams to include JSON serialization of params

* refactor: update response handling in getParams to include JSON serialization of params

* Add to dic types

* refactor: extract get_param_as_byte function for improved parameter handling and fix backup inconsistencies

* cleanup

* ensure error propagates on backup fail
2025-09-04 14:45:37 +02:00
DevTekVE 8ccb777192 bugfix: improve exception handling for sunnylinkd (SUN-89) (#1207)
* bugfix: improve exception handling for WebSocket connections in sunnylinkd

* bugfix: enhance exception handling for WebSocket connections in sunnylinkd

* bugfix: improve OSError handling in sunnylinkd for better error reporting
2025-09-04 14:45:03 +02:00
DevTekVE 0593667601 bugfix: improve error handling in model fetching process (SUN-87) (#1205)
* bugfix: improve error handling in model fetching process

* cleanup

* bugfix: refine error handling in model fetching process
2025-09-04 14:44:42 +02:00
DevTekVE 288a5e14da bugfix: streamline LiveDelay parameter loading with safe handling (#1204) staging/0.10.1/2025.09.03-2949 2025-09-03 17:18:18 +02:00
James Vecellio-Grant 9447aa0e3d modeld: turn desires (#1182)
* Add modelDataV2SP and lane turn logic implementation

Note: still need to hook up to other modeld's create unit test, fix stuff, and do the UI for it

* add unit tests for lane turn logic

* Add lane turn desire controls to models panel

* use `events_sp` instead of `events`

* integrate modelDataV2SP messaging to the other modeld controllers

* move this to that

* use min for general population here, on custom branches, change this to max :)

* Update events.py

Co-authored-by: royjr <royjr96@gmail.com>

* Update events.py

Co-authored-by: royjr <royjr96@gmail.com>

* refactor lane turn value control into one method

* Update selfdrive/ui/sunnypilot/qt/offroad/settings/models_panel.cc

* add integration tests for lane turn desire

* 10 updates is possibly more representative of real life

* real objects ofc

* desc: add toggle description for clarity

---------

Co-authored-by: royjr <royjr96@gmail.com>
staging/0.10.1/2025.09.03-2946
2025-09-03 05:49:12 -07:00
Jason Wen 8b5290b462 no 2025-09-02 22:15:13 -04:00
Jason Wen 0e40024548 finish it up 2025-09-02 22:13:06 -04:00
Jason Wen 711a43082a init better 2025-09-02 22:09:26 -04:00
Jason Wen 87beff9cad use vCruiseCluster for set speed 2025-09-02 21:53:05 -04:00
Jason Wen e1ac6fef51 more 2025-09-02 11:23:44 -04:00
Jason Wen fa26dda544 more 2025-09-02 11:14:01 -04:00
Jason Wen c3e513053c Merge remote-tracking branch 'sunnypilot/sunnypilot/master' into feature/slc 2025-09-02 01:16:59 -04:00
Jason Wen 28544dc803 wrap 2025-09-02 01:16:50 -04:00
Jason Wen 19bb39f09a some more tests 2025-09-02 01:14:37 -04:00
Jason Wen 6acb23ba30 fix 2025-09-02 01:07:27 -04:00
Jason Wen db9e410bee lint 2025-09-02 01:05:04 -04:00