Commit Graph

10926 Commits

Author SHA1 Message Date
James Vecellio-Grant b32c6dafee modeld: add laneline helper for plan indices calculation (#1240)
* modeld: add laneline_helper for plan X indices calculation

* spacing

* keep type hints

* openpilot

* sunnypilot/models/helpers

add modeld helpers to helpers

* Send it from each fill message

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-09-14 21:45:22 -04:00
infiniteCable2 3fd2db8508 Merge branch 'master' of https://github.com/sunnypilot/sunnypilot 2025-09-14 16:50:51 +02:00
Jason Wen ec8f036850 Merge branch 'upstream/openpilot/master' into sync-20250908
# Conflicts:
#	.github/workflows/selfdrive_tests.yaml
#	README.md
#	docs/CARS.md
#	opendbc_repo
#	panda
#	selfdrive/car/tests/test_car_interfaces.py
#	selfdrive/modeld/modeld.py
#	selfdrive/selfdrived/selfdrived.py
#	selfdrive/ui/translations/main_ar.ts
#	selfdrive/ui/translations/main_de.ts
#	selfdrive/ui/translations/main_es.ts
#	selfdrive/ui/translations/main_fr.ts
#	selfdrive/ui/translations/main_ja.ts
#	selfdrive/ui/translations/main_ko.ts
#	selfdrive/ui/translations/main_pt-BR.ts
#	selfdrive/ui/translations/main_th.ts
#	selfdrive/ui/translations/main_tr.ts
#	selfdrive/ui/translations/main_zh-CHS.ts
#	selfdrive/ui/translations/main_zh-CHT.ts
#	system/hardware/hardwared.py
#	system/updated/updated.py
#	tinygrad_repo
#	uv.lock
2025-09-13 15:23:36 -04:00
infiniteCable2 a5e6bf0944 Merge branch 'master' of https://github.com/sunnypilot/sunnypilot 2025-09-12 18:47:20 +02:00
Nayan 4f44d6e643 Reapply "UI: Developer UI" (#1238) (#1239)
This reverts commit 1be13fdc55.

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-09-12 10:58:59 -04:00
Jason Wen 1be13fdc55 Revert "UI: Developer UI" (#1238)
* Revert "Revert & Reapply "UI: Developer UI" temporarily due to QT version mismatch (#1237)"

This reverts commit 810a2d9448.

* Revert "UI: Developer UI (#1233)"

This reverts commit 1bb4ca2547.
2025-09-12 08:37:24 -04:00
DevTekVE 810a2d9448 Revert & Reapply "UI: Developer UI" temporarily due to QT version mismatch (#1237)
* Revert "UI: Developer UI (#1233)"

This reverts commit 1bb4ca2547.

* Reapply "UI: Developer UI (#1233)"

This reverts commit b0a77049dacbdd59bc21d154820ba8cadf4ad201.

* QColorConstants is not on device's QT version. Thanks @kumar for the fix
2025-09-12 09:03:17 +02:00
Nayan 1bb4ca2547 UI: Developer UI (#1233) 2025-09-12 01:00:05 -04:00
github-actions[bot] 0739d4ac2d [bot] Update translations (#36089)
Update translations

Co-authored-by: Vehicle Researcher <user@comma.ai>
2025-09-08 09:01:53 -07:00
Adeeb Shihadeh 608c16007e Rewrite logcatd in Python (#36111)
* Add Python logcatd implementation

* lil more
2025-09-07 11:32:44 -07:00
infiniteCable2 cda12eefc6 new param BSM RHD 2025-09-07 20:17:40 +02:00
Adeeb Shihadeh 275abc1eb5 Rewrite proclogd in Python (#36110)
* Rewrite proclogd in Python

* lil more

* lil more

* Update system/proclogd.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update system/proclogd.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update system/proclogd.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-07 11:13:39 -07:00
infiniteCable2 933b025e1d Merge branch 'master' of https://github.com/sunnypilot/sunnypilot 2025-09-07 19:54:17 +02:00
infiniteCable2 e825639fc1 Update controlsd.py 2025-09-07 18:58:48 +02:00
infiniteCable2 8505e93bc2 Update controlsd.py 2025-09-07 18:55:33 +02:00
infiniteCable2 2d5573c1d6 fix output 2025-09-07 18:50:13 +02:00
infiniteCable2 6728f9f373 revert more to stock angle control logic (curvature CO with offset in CC leaves to wrong limit detection), but still use curv type 2025-09-07 18:48:01 +02:00
Jason Young ff34b8af76 selfdrived: disable HUD VisualAlert for belowSteerSpeed events (#36109) 2025-09-07 11:59:48 -04:00
infiniteCable2 5d057a1f03 Revert "pass yaw directly"
This reverts commit 8812fde77c.
2025-09-07 17:31:06 +02:00
infiniteCable2 894ef0c5c5 Merge branch 'curv_corr' of https://github.com/infiniteCable2/openpilot into curv_corr 2025-09-07 17:22:44 +02:00
infiniteCable2 8812fde77c pass yaw directly 2025-09-07 17:22:27 +02:00
infiniteCable d17ba5a562 Update controlsd.py 2025-09-07 16:32:17 +02:00
infiniteCable2 659963931b prepare neccessary variables for curv correction in vw car controller 2025-09-07 15:12:14 +02: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
Shane Smiskol 1033d3d80e Desire helper: set lane change direction on entering preLaneChange state (#36074)
* set immediately to avoid flash on right lane changes

* one function

* name

* comment
2025-09-05 22:34:04 -07: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 fa66ce5e774db6832a0cf3a32ff6fb6803cf0df1.
2025-09-05 20:51:58 -04:00
Harald Schäfer f0f04d4b5b Firehose model (#36087)
816ce390-c41a-42fa-a5df-f393cbe2dcc4/400
2025-09-04 18:51:29 -07:00
Shane Smiskol 2b7707ecf6 Deduplicate car interface test (#36101)
deduplicate test car interfaces
2025-09-04 18:20:43 -07:00
Shane Smiskol ef870d5533 bump opendbc (#36103)
* bump

* update refs
2025-09-04 18:11:44 -07:00
infiniteCable2 42dfca1a5c Create latcontrol_curvature_pid_backup.py leave this here 2025-09-04 17:58:51 +02:00
infiniteCable2 cd4325d23d Merge branch 'master' of https://github.com/infiniteCable2/openpilot into corr_car_contr_no_roll 2025-09-03 21:37:49 +02:00
infiniteCable2 13ecc929d2 Update settings.cc 2025-09-03 21:13:53 +02:00
infiniteCable2 e07866eab2 Update settings.cc 2025-09-03 21:08:51 +02:00
infiniteCable2 c1242a185d Update settings.cc 2025-09-03 21:02:09 +02:00
infiniteCable2 ad5debf481 Update settings.cc 2025-09-03 20:56:34 +02:00
infiniteCable2 ad9f836080 Update settings.py 2025-09-03 20:56:00 +02:00
infiniteCable2 8a24c00701 Update settings.py 2025-09-03 20:43:57 +02:00
infiniteCable2 68e886cfaa Update settings.cc 2025-09-03 20:42:51 +02:00
infiniteCable2 e812a36426 Update settings.cc 2025-09-03 20:17:35 +02:00
infiniteCable2 806f4e1583 Update settings.h 2025-09-03 20:08:33 +02:00
infiniteCable2 4006d9f370 Update settings.cc 2025-09-03 20:08:23 +02:00
infiniteCable2 5afb5e281b Merge branch 'master' of https://github.com/infiniteCable2/openpilot into corr_car_contr_no_roll 2025-09-03 19:09:57 +02:00
infiniteCable2 0634987776 Merge branch 'master' of https://github.com/sunnypilot/sunnypilot 2025-09-03 18:55:16 +02:00
infiniteCable2 1d6ad46b02 Revert "remove curvature controller"
This reverts commit 085ebe148a.
2025-09-03 18:49:51 +02:00
infiniteCable2 085ebe148a remove curvature controller 2025-09-03 17:25:55 +02:00
DevTekVE 288a5e14da bugfix: streamline LiveDelay parameter loading with safe handling (#1204) 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>
2025-09-03 05:49:12 -07:00
infiniteCable2 f57abba6b5 Update latcontrol_curvature.py 2025-09-02 20:06:08 +02:00
infiniteCable2 c4009b0f90 Update latcontrol_curvature.py 2025-09-02 20:04:29 +02:00
infiniteCable2 33ee0a5368 Update controlsd.py 2025-09-02 19:19:54 +02:00