Commit Graph

15136 Commits

Author SHA1 Message Date
discountchubbs e321be0637 Fix comments 2025-03-26 06:59:55 -07:00
discountchubbs cbe0d27774 Merge remote-tracking branch 'origin/HKG-long-tune' into HKG-long-tune
# Conflicts:
#	opendbc_repo
2025-03-25 16:02:18 -07:00
discountchubbs 62bb93d953 Refactor longitudinal_tuning.py 2025-03-25 16:01:09 -07:00
discountchubbs ce53c51a99 Refactor longitudinal_tuning.py 2025-03-25 15:47:03 -07:00
discountchubbs 8b81380a9b Refactor interfaces.py 2025-03-25 15:28:07 -07:00
discountchubbs 45e8b84032 place under CP.brand =='hyundai' 2025-03-25 13:42:49 -07:00
discountchubbs efa382f66c bump opendbc_repo 2025-03-25 12:52:44 -07:00
discountchubbs 78b90ad0f2 apply from car interface 2025-03-25 11:52:19 -07:00
discountchubbs 9f4b068909 Update UI 2025-03-25 11:38:43 -07:00
Discountchubbs 73581243fe Update card.py
Co-authored-by: DevTekVE <devtekve@gmail.com>
2025-03-25 11:03:47 -07:00
discountchubbs 65c12b45f5 strip 2025-03-25 09:34:03 -07:00
discountchubbs 64e946ee35 simplify 2025-03-25 08:03:39 -07:00
discountchubbs e16bd21069 Merge remote-tracking branch 'origin/HKG-long-tune' into HKG-long-tune 2025-03-25 06:57:47 -07:00
discountchubbs f853be5c1c Fix DevTekVE's comments 2025-03-25 06:55:50 -07:00
discountchubbs cdbe4d08ec Fix DevTekVE's comments 2025-03-25 06:49:46 -07:00
Discountchubbs a307c06195 Merge branch 'master-new' into HKG-long-tune 2025-03-25 06:41:44 -07:00
royjr 5ce03e6ecf ui: display fingerprint as fallback in platform selector (#709)
Update platform_selector.cc
2025-03-25 08:23:21 +01:00
Discountchubbs 668cebca0f Merge branch 'master-new' into HKG-long-tune 2025-03-24 21:43:27 -07:00
Jason Wen 4055efdf4b ci: add commit SHA to build notifications (#712)
This change includes the current commit SHA in the workflow outputs of the sunnypilot-build-prebuilt.yaml file. It provides better traceability for builds, ensuring each workflow run is linked to the exact commit it was triggered from.
2025-03-25 00:25:04 -04:00
Jason Wen 4659274faa Merge branch 'master-new' into HKG-long-tune 2025-03-24 23:05:46 -04:00
royjr da79b6d494 ui: new icon for Lateral panel (#707)
* Create icon_lateral.svg

* Update settings.cc

* Delete icon_lateral.svg

* Create icon_lateral.png

* Update settings.cc

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-03-25 03:05:20 +00:00
Jason Wen 45c8f5c9d5 ci: Update PR title formatting for Squash and Merge (#711)
Changed the PR reference format from (`#123`) to (PR-123) in squash commit messages
to prevent GitHub from automatically adding reference comments to PRs when
`master-dev-c3-new` is force pushed.
2025-03-24 22:56:19 -04:00
discountchubbs 640649d55b ABC extraction 2025-03-24 19:45:59 -07:00
Kumar 34bbdf4d7f Controls: Automatic lane change (#653)
* init alc controller

* only for sunny

* rebase fix

* ui

* add ui preview

* Update common/params_keys.h

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>

* Update selfdrive/ui/sunnypilot/SConscript

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>

* Update selfdrive/ui/sunnypilot/qt/offroad/settings/lateral/lane_change_settings.h

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>

* Update selfdrive/ui/sunnypilot/qt/offroad/settings/lateral/lane_change_settings.cc

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>

* review sugg

* code review

* renaming

* move around

* style

* fix types and params exceptions handling

* take out magic numbers

* more

* rename

* shorter

* make sure reset happens at the end of every DH loop

* split into multiple updates

* just 3 seconds

* use default states

* oops

* more readable

* oops

* some space and lines

* run in DH loop directly

* adjust ui preview

* nudgeless should process immediately

* check option instead

* more explicit

* even more explicit

* tests

* brake pedal release should not allow auto lane change (caught by test)

* unnecessary

* no continuous auto lane change

* Revert "unnecessary"

This reverts commit 93d135b54a.

* more tests

* less

* less less

* update again

* more cleanup

* better

* AutoLaneChangeState -> AutoLaneChangeMode

* update

* lint

* unused

* test all states

* license

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-03-24 22:26:48 -04:00
discountchubbs 504b270ae4 Create dict for problem variables so they aren't used by carcontroller.py when we don't want them to be. 2025-03-24 15:34:34 -07:00
discountchubbs 1c547c09bc Create dict for problem variables so they aren't used by carcontroller.py when we don't want them to be. 2025-03-24 15:27:20 -07:00
discountchubbs 1e40bf348d bump 2025-03-24 11:58:32 -07:00
discountchubbs 3144d66405 Merge remote-tracking branch 'origin/HKG-long-tune' into HKG-long-tune 2025-03-24 11:57:18 -07:00
discountchubbs c932266485 Remove unused variable 2025-03-24 11:55:55 -07:00
discountchubbs a15273c389 Merge remote-tracking branch 'origin/HKG-long-tune' into HKG-long-tune 2025-03-24 11:39:20 -07:00
discountchubbs c434889f8f In initialization of longitudinal_tuning.py we define self.accel_last which is used on canfd. is this a discriminate 2025-03-24 11:38:14 -07:00
discountchubbs d711020ff6 In initialization of longitudinal_tuning.py we define self.accel_last which is used on canfd. is this a discriminate? 2025-03-24 09:59:33 -07:00
discountchubbs d37bcf5421 In initialization of longitudinal_tuning.py we define self.accel_last which is used on canfd. is this a discriminate? 2025-03-24 08:05:28 -07:00
discountchubbs 6fc315b594 Refine Hyundai longitudinal tuning logic. 2025-03-24 05:38:23 -07:00
Discountchubbs 25fe21d766 Merge branch 'master-new' into HKG-long-tune 2025-03-23 21:45:00 -07:00
Jason Wen cc1b233277 ui: vertical space for ListWidget (#706) 2025-03-24 00:32:31 -04:00
Discountchubbs b378708049 Merge branch 'master-new' into HKG-long-tune 2025-03-23 21:21:58 -07:00
Kumar 029a601674 Device: Quiet Mode (#654)
* init quiet mode

* only for sunny

* static

* toggle

* let's back this up

* review sugg

* oh okay

* review

* fix: ensure boolean conversion for QuietDrive parameter

* Refactor return statement to use boolean conversion for clarity in quiet mode logic

* Update selfdrive/ui/sunnypilot/quietmode.py

* rename

* sunny

* Revert "sunny"

This reverts commit 6ac4cf4b8d.

* sunny

* Revert "sunny"

This reverts commit c2bffddc05.

* sunny

* ui: support dynamic state updates for `PushButtonSP`

* test btn

* override mouse release events

* Revert "test btn"

This reverts commit cd9c9dde9a.

* Reapply "test btn"

This reverts commit 9b36b2e085.

* abstract param flipping

* Revert "Reapply "test btn""

This reverts commit 8104a262b0.

* use new button state for PushButtonSP

* Quiet Drive -> Quiet Mode

* driver camera btn moved

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-03-23 23:15:11 -04:00
Jason Wen 982674b4a7 ui: support dynamic state updates for PushButtonSP (#708)
* ui: support dynamic state updates for `PushButtonSP`

* test btn

* override mouse release events

* Revert "test btn"

This reverts commit cd9c9dde9a.

* Reapply "test btn"

This reverts commit 9b36b2e085.

* abstract param flipping

* Revert "Reapply "test btn""

This reverts commit 8104a262b0.

* update device panel handling for the new param
2025-03-23 22:54:40 -04:00
discountchubbs 5df9a05095 Merge remote-tracking branch 'origin/HKG-long-tune' into HKG-long-tune 2025-03-23 19:20:08 -07:00
discountchubbs fa44bae501 Adjust starting parameters to ensure jerk limits are zero'd out when transitioning out of stop requested 2025-03-23 19:19:36 -07:00
Discountchubbs ec52c06b49 Merge branch 'master-new' into HKG-long-tune 2025-03-23 13:16:22 -07:00
discountchubbs 4422522bf2 Adjust starting parameters to ensure jerk limits are zero'd out when transitioning out of stop requested 2025-03-23 13:14:03 -07:00
royjr 96d73fe2b3 NNLC: bump max similarity for higher accuracy (#704)
Update helpers.py

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-03-23 20:04:12 +00:00
Jason Wen a307a08591 ui: fix offset with OptionControlSP for macOS (#705)
ui: fix offset with `OptionControlSP`
2025-03-23 15:50:21 -04:00
discountchubbs 45903cb9a2 Merge remote-tracking branch 'origin/HKG-long-tune' into HKG-long-tune 2025-03-23 08:23:16 -07:00
discountchubbs 5efbe0178e Removed gasPressed as a condition for 0 acceleration to address misidentification issues in some CANFD vehicles. 2025-03-23 08:22:31 -07:00
Discountchubbs 6cc0f4c510 Merge branch 'master-new' into HKG-long-tune 2025-03-22 22:51:28 -07:00
discountchubbs 9b02a5bc88 Merge remote-tracking branch 'origin/HKG-long-tune' into HKG-long-tune 2025-03-22 22:50:37 -07:00
discountchubbs 6b385a0a5e Update wording on HKGLongTune UI 2025-03-22 22:49:59 -07:00