Commit Graph

15413 Commits

Author SHA1 Message Date
discountchubbs fe2abfb1dd step updates for parabolic accel/braking 2025-04-13 19:22:51 -07:00
discountchubbs 71233eb9f3 multiplier to 1.5 2025-04-13 17:37:56 -07:00
Jason Wen 7e5bb5e530 nah 2025-04-13 20:02:37 -04:00
Jason Wen 41a1e6f679 constants 2025-04-13 19:39:50 -04:00
Jason Wen 038d9cebe1 step + threshold + first order filter to smooth 2025-04-13 19:38:00 -04:00
discountchubbs 2c1f558aa9 Change max jerk upper 2025-04-13 16:33:52 -07:00
discountchubbs dbf5a8309f Merge remote-tracking branch 'origin/HKG-long-tune' into HKG-long-tune 2025-04-13 16:27:49 -07:00
discountchubbs 4314b18425 Change max jerk upper 2025-04-13 16:27:28 -07:00
Discountchubbs 54f46385fc Merge branch 'master-new' into HKG-long-tune 2025-04-13 16:11:35 -07:00
discountchubbs a1a05feaca Change max jerk upper 2025-04-13 16:09:54 -07:00
discountchubbs 54451fab47 Change min jerk upper 2025-04-13 12:45:14 -07: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
discountchubbs 63b552309b Change min jerk 2025-04-13 11:26:44 -07:00
Jason Wen 17bb280b83 should be float 2025-04-13 13:59:30 -04:00
discountchubbs cc68c41b23 Change min jerk 2025-04-13 09:26:16 -07:00
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