Commit Graph

15276 Commits

Author SHA1 Message Date
infiniteCable f01357d025 Update radard.py revert 2025-04-19 15:29:25 +02:00
infiniteCable a8c2c72643 Update disturbance_controller.py 2025-04-19 14:53:15 +02:00
infiniteCable ba98193090 Update disturbance_controller.py reimplement old working state and a little bit of ff style disturbance correction by lat accel 2025-04-19 13:53:29 +02:00
infiniteCable 6e2ff68f91 Update disturbance_controller.py 2025-04-19 13:28:57 +02:00
infiniteCable2 1e9e139919 Update opendbc_repo 2025-04-19 13:20:59 +02:00
infiniteCable2 9720e5461a Update opendbc_repo 2025-04-19 12:59:45 +02:00
infiniteCable 838145be17 Update disturbance_controller.py 2025-04-19 12:59:08 +02:00
infiniteCable 77942ad71a Update disturbance_controller.py 2025-04-18 22:18:01 +02:00
infiniteCable 827a505e49 Update disturbance_controller.py 2025-04-18 20:12:56 +02:00
infiniteCable ebaabcfc25 Update disturbance_controller.py 2025-04-18 19:40:57 +02:00
infiniteCable e868baf92f Update disturbance_controller.py cleanup 2025-04-18 19:39:10 +02:00
infiniteCable 1cad142b38 Update radard.py 2025-04-18 14:00:32 +02:00
infiniteCable 14c3da2673 Update radard.py optimization 2025-04-18 11:26:25 +02:00
infiniteCable 5f6bc072be Update cruise.py 2025-04-18 10:21:49 +02:00
infiniteCable2 b2b0adb273 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-04-18 10:15:42 +02:00
infiniteCable 56e72c4c98 Update disturbance_controller.py optimization 2025-04-18 08:55:37 +02:00
infiniteCable2 a90a86a6c2 Update opendbc_repo 2025-04-17 20:22:12 +02:00
infiniteCable2 6c141dc313 Update opendbc_repo 2025-04-17 20:10:56 +02:00
Jason Wen 86a390780e DM: Enforce monitoring of MADS state in driver monitoring (#831)
* DM: Enforce monitoring of MADS state in driver monitoring

Added `selfdriveStateSP.mads.enabled` to track MADS engagement. This ensures monitoring logic accounts for MADS alongside the existing selfdrive state checks, improving feature integration and event handling.

* how

* okay, only when active
2025-04-17 13:31:43 -04:00
Jason Wen bdcc9d579f Revert "DM: Enforce monitoring of MADS state in driver monitoring" (#830)
Revert "DM: Enforce monitoring of MADS state in driver monitoring (#818)"

This reverts commit 3615b1a203.
2025-04-17 13:03:07 -04:00
infiniteCable2 f522530731 Update opendbc_repo 2025-04-17 18:58:54 +02:00
infiniteCable2 2b006dbaa9 Update opendbc_repo 2025-04-17 18:37:18 +02:00
infiniteCable2 68e4fc461f Update opendbc_repo 2025-04-17 18:31:57 +02:00
infiniteCable2 95d7b87441 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-04-17 18:31:19 +02:00
infiniteCable e683e47c8f Update disturbance_controller.py perf: 3dof only 2025-04-17 11:59:57 +02:00
infiniteCable 936acfc17a Update dmonitoringmodeld.py do not run DM twice for now 2025-04-17 09:41:37 +02:00
DevTekVE 702a755307 CI: Update PR list query to exclude draft pull requests (#829) 2025-04-16 06:05:44 -04:00
DevTekVE 224f43b6fa CI: Improve dev-c3-new auto build (#825)
* force commit to force PR

* ci: add job to manage PR labels and remove trust label on new commits

* Add pull request trigger

* empty commit to test

* ci: update pull request label management logic and remove FORCE_RUN flag

* ci: update trust label management to use TRUST_FORK_PR_LABEL

* ci: update workflow to manage PR labels and adjust trigger conditions

* ci: rename jobs in workflow for consistency and clarity

* ci: add unleash-nightly-squash branch to workflow

* ci: add checkout step with GITHUB_TOKEN to workflow

* force wait

* what happens if negated the wait

* ci: add 'Wait for Tests' action to monitor workflow execution

* ci: update wait-for-tests action conditions and cleanup

* ci: refine conditions for managing PR labels and waiting for tests

* ci: enhance PR label conditions for workflow execution

* Cant use env on if

* maybe

* ci: update pull request workflow conditions and cleanup

* Missing end of line

* ci: rename workflow and update job name for clarity

* Cleaning

* ci: refine conditions for pull request handling in workflow

* ci: update handling of TRUST_FORK_LABEL in PR processing

* ci: remove fork trust warning from PR processing

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-04-15 15:53:29 -04:00
Nayan a867dea681 UI: Bugfix Max Time Offroad (#820)
bugfixes

Co-authored-by: Discountchubbs <159560811+Discountchubbs@users.noreply.github.com>
2025-04-15 18:12:08 +02:00
infiniteCable2 971aff368b Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-04-15 18:02:29 +02:00
Jason Wen 4c8ed80304 Update Python packages (#819) 2025-04-15 00:04:57 -04:00
Jason Wen 3615b1a203 DM: Enforce monitoring of MADS state in driver monitoring (#818)
* DM: Enforce monitoring of MADS state in driver monitoring

Added `selfdriveStateSP.mads.enabled` to track MADS engagement. This ensures monitoring logic accounts for MADS alongside the existing selfdrive state checks, improving feature integration and event handling.

* how
2025-04-14 14:50:21 -04:00
DevTekVE b41ace34cc sunnylink: fix sunnylink backup restore version parsing (#816)
* improvement

* fix: Improve version parsing logic for sunnypilot

---------

Co-authored-by: Discountchubbs <159560811+Discountchubbs@users.noreply.github.com>
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-04-14 14:18:05 -04:00
DevTekVE b9d584245f ci: update squash script for external contributors (#811)
* Get head ref info

* Simpify adding the comment with the newest flagg by gh cli

* Dynamic origin

* Enhance PR processing: add label handling for forked PRs and improve variable naming

* Refactor PR label handling: use constant for trust-fork label and improve comments

* Fix remote addition in PR processing: change subprocess call to not check for errors

* Refactor PR comment handling: support multiple comments and improve clarity

* Refactor PR processing: streamline comment handling and improve error management

* Refactor add_pr_comments function: specify comments type as list of strings

* Maybe we don't prevent "behind" branches to be merged as lon as the PR itself is mergeable

* lint, leave me alone

---------

Co-authored-by: Discountchubbs <159560811+Discountchubbs@users.noreply.github.com>
2025-04-14 19:29:33 +02:00
DevTekVE 6bd47c4eec Models: point to v2 of driving models json for recompiled models (#817)
Use newer model version json since they have been recompiled
2025-04-13 21:39:26 +02:00
infiniteCable2 f01f00bad3 Update opendbc_repo 2025-04-13 20:51:25 +02:00
infiniteCable2 eaa985f49e Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-04-13 20:51:07 +02:00
Jason Wen 43eefed514 Hyundai longitudinal: Parse lead info for camera-based SCC platforms (#809)
* Hyundai longitudinal: Parse lead info for camera-based SCC platforms

* fix

* update

* bump

* update tests

* lol why is this here

* bump

---------

Co-authored-by: DevTekVE <devtekve@gmail.com>
Co-authored-by: Discountchubbs <159560811+Discountchubbs@users.noreply.github.com>
2025-04-12 12:22:42 -04:00
Nayan f1d703e6e4 Device: Customizable Max Time Offroad (#796)
* Max Time Offroad

* Refactor & Fix param

* Error Handling

* rename SP variable

* Update selfdrive/ui/sunnypilot/qt/widgets/controls.h

Co-authored-by: DevTekVE <devtekve@gmail.com>

* Update selfdrive/ui/sunnypilot/qt/widgets/controls.h

Co-authored-by: DevTekVE <devtekve@gmail.com>

* Update selfdrive/ui/sunnypilot/qt/widgets/controls.h

Co-authored-by: DevTekVE <devtekve@gmail.com>

* Update selfdrive/ui/sunnypilot/qt/widgets/controls.h

Co-authored-by: DevTekVE <devtekve@gmail.com>

* Update selfdrive/ui/sunnypilot/qt/widgets/controls.cc

Co-authored-by: DevTekVE <devtekve@gmail.com>

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

Co-authored-by: DevTekVE <devtekve@gmail.com>

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

Co-authored-by: DevTekVE <devtekve@gmail.com>

* UI layout changes for better alignment

selector is not big enough -> make it bigger ;)

OptionControlSP now includes a QMap argument to allow actual values to be set in param directly

* Rebase & resolve reviews

* change default to be closer to OP default

* me dumb

* MaxTimeOffroad: Add support for 30h limit and improve label formatting

* power_monitoring: Refactor MaxTimeOffroad parameter handling for clarity

* test: Add unit tests for MaxTimeOffroad parameter handling

* power_monitoring: Update MaxTimeOffroad handling to use seconds and improve shutdown logic

* power_monitoring: Improve exception handling and remove redundant shutdown check for MaxTimeOffroad

---------

Co-authored-by: DevTekVE <devtekve@gmail.com>
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-04-12 16:33:17 +02:00
Jason Wen a598d385f2 ci: Remove redundant Panda build step from prebuilt workflow (#810)
The Panda build step was unnecessary as it is not utilized in this workflow. This change simplifies the workflow and reduces redundant actions, improving efficiency.
2025-04-12 11:47:00 +02:00
infiniteCable a6e236a3f9 Update disturbance_controller.py 2025-04-12 09:04:26 +02:00
infiniteCable 18ce02da9c Update settings.cc 2025-04-11 23:37:48 +02:00
infiniteCable 0f9270547c Update controlsd.py 2025-04-11 23:33:23 +02:00
Nayan 92707e8912 UI: Device & Sunnylink Panels - Standardize push button size & alignment (#806)
* layout adjustments

* sunnylink_panel

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-04-11 22:21:49 +02:00
Jason Wen fb87ba681a MADS: transition to soft-disable for specific gear states (#791)
* MADS: transition to soft-disable for specific gear states

This commit enhances the condition checking functionality of the Modular Assistive Driving System (MADS) to implement a 'soft-disable' feature during the vehicle's active motion when a non-forward drive gear is engaged. It includes utilizing structs to reference various car state attributes and modifying a function definition to improve clarity. This adjustment boosts the system's reaction to gear shifts, increasing the safety and efficiency of the driving assist system.

* structs
2025-04-11 16:06:45 -04:00
Jason Wen 6a00ac9cd0 Radard: vision-based yRel for Hyundai single-lead systems (#805)
Introduced processing for custom yRel values using HyundaiFlagsSP when the enhanced SCC flag is enabled. Updated `radard` to handle `CarParamsSP` and make necessary adjustments for Hyundai vehicles with specific SCC configurations.
2025-04-11 14:28:59 -04:00
infiniteCable 000b47c6c8 Update settings.cc 2025-04-11 20:11:36 +02:00
infiniteCable a08060ea26 Update settings.cc 2025-04-11 19:38:52 +02:00
infiniteCable 2916a44f5a Update params_keys.h 2025-04-11 19:37:31 +02:00
infiniteCable 0d51d6c475 Update controlsd.py 2025-04-11 19:36:22 +02:00