Commit Graph

15398 Commits

Author SHA1 Message Date
Jason Wen 3f2ecd7f4a add lower jerk multiplier for HYUNDAI_IONIQ 2025-04-13 01:12:45 -04:00
Jason Wen 86cfc27490 align type hint 2025-04-13 00:44:04 -04:00
Jason Wen a63a1b4720 0.45 default long actuator delay 2025-04-13 00:40:38 -04:00
discountchubbs dae1d78ab3 we dont need such high accel jerk when above 20m/s. This is cruise control, not a racecar. 2025-04-12 20:26:41 -07:00
Jason Wen b78b77c53c match aReqVale 2025-04-12 21:13:10 -04:00
Jason Wen 32788471c9 bump 2025-04-12 21:09:45 -04:00
Jason Wen cebabe634d bump 2025-04-12 21:05:48 -04:00
Jason Wen c2f10d19aa allow jerk calculations at all times 2025-04-12 19:52:38 -04:00
discountchubbs d3b9d22274 bump opendbc test 2025-04-12 15:23:00 -07:00
discountchubbs 667ec04e20 raise off to stock 2025-04-12 15:15:16 -07:00
discountchubbs 9591fad8bb Merge remote-tracking branch 'origin/HKG-long-tune' into HKG-long-tune 2025-04-12 09:28:15 -07:00
discountchubbs c476addda2 Merge remote-tracking branch 'origin/master-new' into HKG-long-tune
# Conflicts:
#	opendbc_repo
2025-04-12 09:27:19 -07: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
Discountchubbs 42b7288fd7 Merge branch 'master-new' into HKG-long-tune 2025-04-12 07:56:00 -07:00
discountchubbs e204f38733 Elantra specific 2025-04-12 07:52:53 -07: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
discountchubbs 75ea72c7a0 Higher jerk for VOACC 2025-04-12 06:59:57 -07:00
discountchubbs a23f1ad2a8 Test a few things 2025-04-12 06:45:42 -07:00
DevTekVE 5b119ee854 Merge branch 'master-new' into HKG-long-tune 2025-04-12 12:59:26 +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
Discountchubbs 18a01ffb5e Merge branch 'master-new' into HKG-long-tune 2025-04-11 13:23:00 -07: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
Discountchubbs 36e9529b31 Merge branch 'master-new' into HKG-long-tune 2025-04-11 13:06:56 -07: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
Discountchubbs 0fb04ab520 Merge branch 'master-new' into HKG-long-tune 2025-04-11 12:35:05 -07:00
Jason Wen 7cb530e70c make sure it resets to 0, enforced in safety 2025-04-11 15:14:41 -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
Jason Wen 396516eaec fix logic 2025-04-11 14:24:52 -04:00
Jason Wen ae3c048034 abs it here 2025-04-11 14:06:33 -04:00
discountchubbs 586544c308 bump 2025-04-11 09:26:29 -07:00
Jason Wen c9d9e4b390 bump 2025-04-11 12:13:52 -04:00
Jason Wen 09c73f949d Merge remote-tracking branch 'sunnypilot/sunnypilot/HKG-long-tune' into HKG-long-tune
# Conflicts:
#	opendbc_repo
2025-04-11 12:13:22 -04:00
Jason Wen 9d6d505bac move desired accel force zero in tuning controller 2025-04-11 12:13:09 -04:00
discountchubbs 84dce5db42 Higher lower limit 2025-04-11 09:12:12 -07:00
discountchubbs 4e6f682c59 bump test 2025-04-11 09:09:38 -07:00
discountchubbs 8da1394106 bump test 2025-04-11 09:09:23 -07:00
Jason Wen 7a7dcc940d apply upper/lower dynamically 2025-04-11 11:53:02 -04:00
Jason Wen 53d36954d6 do our own clipping 2025-04-11 11:26:37 -04:00
Jason Wen 21a4b0436a match stock behavior for accel 2025-04-11 11:23:57 -04:00
discountchubbs f197c6f388 bump safety mutation test 2025-04-11 08:15:47 -07:00
Jason Wen 89e8e863c5 all should match 50 Hz 2025-04-11 11:10:55 -04:00
discountchubbs e687c96393 bump safety mutation test 2025-04-10 19:11:15 -07:00
discountchubbs 368cce7dae refactor that while passing internal tests 2025-04-10 19:08:49 -07:00
Discountchubbs 75ff611282 Merge branch 'master-new' into HKG-long-tune 2025-04-10 12:23:33 -07:00
Nayan 0a2fd7bd61 UI: Update AbstractControlSP_SELECTOR and OptionControlSP (#800)
* controls

* Adjust label width dynamically based on layout type.

Updated the label's fixed width to be conditional on the layout type, improving adaptability for different inline layouts. Additionally, corrected indentation in the width calculation loop for consistency.

* Refactor OptionControlSP to improve parameter value handling and encapsulate logic in dedicated methods

* Refactor getParamValue to return an integer and ensure value is updated correctly in button click handler

* Trying to unify a bit the logic. still WIP

* Reducing a bit the change footprint

* Refactor spacing item handling to prevent duplicate insertion and improve layout management

---------

Co-authored-by: DevTekVE <devtekve@gmail.com>
2025-04-10 15:20:41 -04:00
discountchubbs 60d11012a8 bump submodules 2025-04-10 12:13:31 -07:00
discountchubbs 53353ea08f remove fw version as that was a test 2025-04-10 12:07:38 -07:00
discountchubbs 2ac9c70019 fw version for my car... 2025-04-10 10:36:20 -07:00
discountchubbs adc5d43a62 This is an internal test on my end. Disregard, for now 2025-04-10 09:44:05 -07:00
discountchubbs a634de4efa Trigger rebuild 2025-04-10 06:43:12 -07:00