Commit Graph

15446 Commits

Author SHA1 Message Date
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
infiniteCable 1cc80e1a7a Create pt2.py 2025-04-11 19:30:56 +02:00
Adeeb Shihadeh 24c2d9a68a bump panda 2025-04-10 15:57:15 -07:00
infiniteCable c4a23447da Update disturbance_controller.py 2025-04-10 23:00:58 +02: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
infiniteCable2 1152450921 Update controlsd.py 2025-04-10 19:59:54 +02:00
infiniteCable2 b97d8645fe Revert "Delete selfdrive/controls/lib/disturbance_controller.py"
This reverts commit ae3eb9e286.
2025-04-10 19:59:06 +02:00
infiniteCable2 bb3231d012 Revert "Update params_keys.h"
This reverts commit 3e7903bf2f.
2025-04-10 19:59:01 +02:00
infiniteCable2 a4f07b065f Revert "Update controlsd.py"
This reverts commit a756987ca1.
2025-04-10 19:58:57 +02:00
infiniteCable2 a4ffbba293 Revert "Update settings.cc"
This reverts commit d4bf93a664.
2025-04-10 19:58:52 +02:00
Robbe Derks 3e6267967b Raise thermal setpoint (#35008)
We don't need to control all the way down to 70C
2025-04-10 16:33:36 +02:00
Kacper Rączy f237649a7a Reapply "Online lateral lag learning" (#34975)
* Online lateral lag learning (#34974)

This reverts commit b4cc9e68d1.

* pad to the best size for fft

* Fix static analysis

* Add typing

* Fix typing

* MAX_LAG

* Calculate cross correlation regardless if the points are valid

* Back to lagd

* Add lagd to process_config

* Lagd in test onroad

* Move lag estimator for lagd

* Remove duplicate entry from test_onroad

* Update process replay

* pre-fill the data

* Update cpu usage

* 25sec window

* Change the meaning of lateralDelayEstimate

* No newline

* Fix typing

* Prefill

* Update ref commit

* Add a unit test

* Fix static issues

* Time limit

* Or timeout

* Use mocker

* Update estimate every time

* empty test

* DT const

* enable RIVIAN again

* Update ref commit

* Update that again

* Improve the tests

* Fix static

* Add masking test

* Increase timeout

* Add liveDelay to selfdrived

* Add liveDelay to selfdrived in process_replay

* Fix block_avg restore after num_blocks

* regen most

* Update bolt

* Update ref commit

* Change the key name

* Add assert

* True weighted average
2025-04-09 22:31:07 +00:00
Shane Smiskol 5d1816e2b8 Revert "test_models: update relay malfunction check" (#35002)
Revert "test_models: update relay malfunction check (#34999)"

This reverts commit 2cd0079abe.
2025-04-08 21:27:05 -07:00
Kacper Rączy dec42839e3 process_replay: remove GM (volt) (#35000)
Remove volt segment
2025-04-09 04:13:02 +00:00
Shane Smiskol 2cd0079abe test_models: update relay malfunction check (#34999)
relay is checked in fwd hook
2025-04-08 21:11:24 -07:00
Shane Smiskol 4c7d29b907 bump opendbc 2025-04-08 21:08:04 -07:00
Kacper Rączy 0b72ae3bc2 process_replay: fix GM and replace TOYOTA3 (#34996)
* Add volt and bolt param migration

* Remove mazda due to invalid sensor timings

* Fix the import

* Add mazda to excluded

* Bring back mazda, but add todo

* New segment for TOYOTA3

* Fix

* Update ref commit
2025-04-09 03:12:52 +00:00
infiniteCable2 de444e187d bump 2025-04-08 21:07:52 +02:00
infiniteCable2 9ce703e4ad Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-04-08 21:05:53 +02:00
infiniteCable d4bf93a664 Update settings.cc 2025-04-08 21:01:43 +02:00
infiniteCable a756987ca1 Update controlsd.py 2025-04-08 21:00:55 +02:00
infiniteCable 3e7903bf2f Update params_keys.h 2025-04-08 20:59:02 +02:00
infiniteCable ae3eb9e286 Delete selfdrive/controls/lib/disturbance_controller.py 2025-04-08 20:57:50 +02:00
infiniteCable 9805282780 Update controlsd.py 2025-04-08 20:16:23 +02:00
infiniteCable 2287d96630 Update disturbance_controller.py 2025-04-08 20:15:43 +02:00
Adeeb Shihadeh 84b0baf68b Revert "hardwared: give stuck LTE connections a kick"
This reverts commit e4aa346259.
2025-04-08 11:04:00 -07:00
Adeeb Shihadeh e4aa346259 hardwared: give stuck LTE connections a kick
This reverts commit e3e694096a3a79e663712797e559e729e6818c7c.
2025-04-08 11:03:24 -07:00
Kacper Rączy fc65a8ea8f paramsd: cache backwards compatibility (#34991)
* LiveParametersV2 key

* Param key

* Fix tests

* Remove old params if error

* Update exception message

* Update the test

* Add test for corrupted byte format in v1

* Rename params_reader => params
2025-04-08 02:23:11 +00:00
Jason Wen 1490a24378 Sync: commaai/openpilot:master into sunnypilot/sunnypilot:master-new (#798) 2025-04-07 21:40:48 -04:00
DevTekVE a2761ba731 Merge remote-tracking branch 'comma/master' into sync-20250407
# Conflicts:
#	opendbc_repo
#	panda
2025-04-07 21:11:47 -04:00
infiniteCable 53a917f897 Update disturbance_controller.py 2025-04-07 21:22:57 +02:00
infiniteCable e6baa56786 Update controlsd.py 2025-04-07 21:22:28 +02:00
infiniteCable f16af32459 Update controlsd.py 2025-04-07 21:21:36 +02:00
infiniteCable 7f16a23c3e Update disturbance_controller.py 2025-04-07 21:20:46 +02:00
Maxime Desroches cdc801c3c1 update to latest userdata partition (#34990)
update
2025-04-07 11:51:53 -07:00
infiniteCable2 7f226983ec Update opendbc_repo 2025-04-07 20:28:01 +02:00
eFini 9f1a4569d1 Multilang: Update zh translation (#34985) 2025-04-07 10:55:52 -07:00
programanichiro d1caf29f7d Multilang: Update ja translation (#34986)
* 日本語訳2025/3/19

* numerusform追加。

* connect to an unmetered networkに対応

* panda是正

* opendbc_repo是正
2025-04-07 10:55:35 -07:00
commaci-public d78c9c26f6 [bot] Update Python packages (#34987)
Update Python packages

Co-authored-by: Vehicle Researcher <user@comma.ai>
2025-04-07 10:52:45 -07:00
infiniteCable 2c1b29b63a Update controlsd.py 2025-04-07 19:50:47 +02:00
infiniteCable2 070bf43ad2 Merge branch 'master-new' of https://github.com/infiniteCable2/openpilot into master-new 2025-04-07 19:30:31 +02:00
infiniteCable2 aec92a77f6 Update opendbc_repo 2025-04-07 19:29:46 +02:00