Commit Graph

15725 Commits

Author SHA1 Message Date
infiniteCable2 f80a46d862 Update opendbc_repo 2025-05-19 15:42:57 +02:00
infiniteCable2 0102e877d2 Update opendbc_repo 2025-05-19 15:41:55 +02:00
infiniteCable2 bb4b102623 cleanup 2025-05-19 15:40:34 +02:00
infiniteCable2 ad1e1d5093 Update opendbc_repo 2025-05-18 23:02:12 +02:00
infiniteCable2 7bb2b7c06b Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-18 23:02:03 +02:00
Jason Wen a93e788401 Reapply "MADS: wrongCarMode alert only with selfdrive enable (#931)" (#933)
* Revert "MADS: `wrongCarMode` alert only with selfdrive enable (#931)"

This reverts commit 6d516a7704.

* Reapply "MADS: `wrongCarMode` alert only with selfdrive enable (#931)"

This reverts commit c9487597e4ae4aa10a7111d963c5933d472bc88e.

* Reapply "MADS: `wrongCarMode` alert only with selfdrive enable (#931)"

This reverts commit c9487597e4ae4aa10a7111d963c5933d472bc88e.
2025-05-18 10:14:03 -04:00
Jason Wen 3aa9ddd3c7 Revert "MADS: wrongCarMode alert only with selfdrive enable (#931)" (#932)
This reverts commit 6d516a7704.
2025-05-18 10:02:50 -04:00
infiniteCable2 e06d4fb453 Update opendbc_repo 2025-05-18 15:27:12 +02:00
infiniteCable2 776694bf92 Update opendbc_repo 2025-05-18 12:45:50 +02:00
infiniteCable2 7e9a9bcd59 Update opendbc_repo 2025-05-18 12:41:55 +02:00
infiniteCable2 edd451c122 Update opendbc_repo 2025-05-18 12:37:42 +02:00
infiniteCable2 600adb6dbb Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-18 12:36:31 +02:00
Jason Wen 6d516a7704 MADS: wrongCarMode alert only with selfdrive enable (#931)
* MADS: Refactor Unified Engagement Mode

* init

* bring back pedal pressed event while trying to engage long

* MADS: prep for refactor

* no longer

* this is cleaner?

* in another pr

* Revert "in another pr"

This reverts commit 31aec8a7aabc798c1b19c365488efe04a47869e9.

* less

* rename

* type hint
2025-05-18 00:18:41 -04:00
Jason Wen 4dbabf4e24 MADS: retain pedalPressed alert only (#928)
* MADS: Refactor Unified Engagement Mode

* init

* bring back pedal pressed event while trying to engage long

* MADS: prep for refactor

* no longer

* this is cleaner?

* in another pr
2025-05-17 23:34:55 -04:00
Jason Wen 80679b74e6 MADS: prep for refactor (#930)
* MADS: prep for refactor

* no longer
2025-05-17 23:07:05 -04:00
Discountchubbs b92d717f2f Hyundai: add more FW versions to enable radar tracks debug script (#804)
* fw version for my car, and added scc radar module firmware to enable radar points

* bump points

* bump

---------

Co-authored-by: DevTekVE <devtekve@gmail.com>
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-05-17 12:33:18 -04:00
Jason Wen 7565dd2545 MADS: Refactor Unified Engagement Mode (#927) 2025-05-17 10:34:38 -04:00
Jason Wen 52dc4141c5 MADS: evaluate brakePressed and regenBraking for Pause Lateral mode (#926)
* simplify

* MADS: evaluate brakePressed and regenBraking for Pause Lateral mode

* nah
2025-05-17 10:09:50 -04:00
Discountchubbs 1e74000f79 Controls: Extension (#858)
* Add enhanced HyundaiCAN extension

Introduced HyundaiCanEXT for improved object parsing and control integration, leveraging new fields like lead distance and relative speed in CarControlSP.

Refactored controlsd to utilize a modular design with ControlsdExt for additional sunnypilot specific functionality.

* self.cc_sp

* Refactor CarControlSP handling for improved state updates

* refactor

* bool

* Refactor controlsd SP communication logic

Update `publish_sp` method to include `CC_SP` parameter and refine SP SubMaster to exclude `radarState`. Remove custom lead vehicle state processing as it is no longer needed.

* remove in this pr

* bump

* start cleanup

* inherit instead

* even more!

* lint

* type hint

* use the same objects for submaster and pubmaster

* more

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-05-15 23:13:40 -04:00
infiniteCable2 6fb1b2d392 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-15 17:20:11 +02:00
infiniteCable2 8f5795a2d7 cleanup 2025-05-15 17:19:55 +02:00
Jason Wen 3a6491e23a MADS: allow transition from Paused to Enabled at all times (#910)
* MADS: silentBrakeHold should not exit control

* no longer

* allow transition from paused to enabled when long is allowed
2025-05-14 17:46:55 -04:00
infiniteCable2 8d6809cfe4 Update opendbc_repo 2025-05-14 20:15:30 +02:00
infiniteCable2 7463d2672d Update opendbc_repo 2025-05-14 20:06:46 +02:00
infiniteCable2 18e6c7bd0d Update opendbc_repo 2025-05-14 19:36:23 +02:00
infiniteCable2 c3b9102966 Update opendbc_repo 2025-05-14 19:10:36 +02:00
infiniteCable2 7a8ac9d7c9 Update opendbc_repo 2025-05-13 23:50:06 +02:00
infiniteCable2 0157bfce2a Update opendbc_repo 2025-05-13 23:46:50 +02:00
infiniteCable2 14026033bc Update opendbc_repo 2025-05-13 19:44:54 +02:00
infiniteCable2 234fd67295 Update opendbc_repo 2025-05-13 17:04:47 +02:00
infiniteCable2 e9443b3579 fix iso limitting 2025-05-13 14:31:47 +02:00
infiniteCable2 d6f6fc21ac Update opendbc_repo 2025-05-12 22:56:20 +02:00
infiniteCable2 5df7a64c5e Update opendbc_repo 2025-05-12 21:42:46 +02:00
infiniteCable2 c9ff1e7017 Update opendbc_repo 2025-05-12 21:22:06 +02:00
infiniteCable2 f7cf499375 Update opendbc_repo 2025-05-12 19:40:45 +02:00
infiniteCable2 b0f3565cfb Update opendbc_repo 2025-05-12 16:09:27 +02:00
infiniteCable2 f1dc94199b Update opendbc_repo 2025-05-11 21:16:06 +02:00
infiniteCable2 8ed31bfa2b Update opendbc_repo 2025-05-11 17:12:41 +02:00
infiniteCable2 485f34ecb8 Update opendbc_repo 2025-05-11 15:44:55 +02:00
infiniteCable2 eee93ae4ee Update opendbc_repo 2025-05-11 15:42:40 +02:00
infiniteCable2 abccd917e5 Update opendbc_repo 2025-05-11 14:54:24 +02:00
infiniteCable2 f1957b3500 Update opendbc_repo 2025-05-11 13:33:42 +02:00
infiniteCable2 21c2818e5d Update opendbc_repo 2025-05-11 12:45:56 +02:00
infiniteCable2 936c4cab61 safety override optimization for override mechanics 2025-05-11 12:38:33 +02:00
infiniteCable2 7924e418f8 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-11 12:36:23 +02:00
Nayan 5c9ce2a042 ui: display actual fingerprint name with auto-fingerprint (#908)
* use platform directly

* Revert "use platform directly"

This reverts commit b71c315d308a5f8f7cd2091de9ce405fcc51074d.

* update brand from platform package
2025-05-10 23:35:02 -04:00
Jason Wen 3a4c74b67d Revert "ui: display actual fingerprint name with auto-fingerprint" (#907)
Revert "ui: display actual fingerprint name with auto-fingerprint (#906)"

This reverts commit 921b51f56f.
2025-05-10 21:47:24 -04:00
Nayan 4ceb1ecd19 ui: fix description margins on AbstractControlSP_SELECTOR (#902)
fix margins for description on AbstractControlSP_SELECTOR

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-05-10 19:10:15 -04:00
Nayan 921b51f56f ui: display actual fingerprint name with auto-fingerprint (#906)
use platform directly

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-05-10 19:01:37 -04:00
Jason Wen 6c1edca806 MADS: use low velocity threshold for silent wrong gear checks (#901)
* MADS: use low velocity threshold for silent wrong gear checks

* higher
2025-05-10 18:51:37 -04:00