infiniteCable2
c445be1259
Merge branch 'master' of https://github.com/sunnypilot/sunnypilot into sync
2025-11-29 19:30:59 +01:00
Jason Wen
023b842e3c
controlsd_ext: use time.monotonic to check params intervals ( #1481 )
...
* controlsd_ext: use time.monotonic to check params intervals
* test
* Revert "test"
This reverts commit 151ac3bc6812cdd1693c1a7650f44bb3bcd8910e.
2025-11-29 03:58:58 -05:00
infiniteCable2
96b33d7ad9
Merge branch 'master' of https://github.com/sunnypilot/sunnypilot into sync
2025-11-16 13:04:35 +01:00
Jason Wen
08e85808c5
Merge branch 'upstream/openpilot/master' into sync-20251114
...
# Conflicts:
# .github/workflows/ci_weekly_run.yaml
# .github/workflows/raylib_ui_preview.yaml
# .github/workflows/tests.yaml
# .gitmodules
# README.md
# SConstruct
# common/api.py
# common/params_keys.h
# docs/CARS.md
# msgq_repo
# opendbc_repo
# panda
# selfdrive/car/tests/test_car_interfaces.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/lib/latcontrol.py
# selfdrive/controls/lib/latcontrol_angle.py
# selfdrive/controls/lib/latcontrol_pid.py
# selfdrive/controls/lib/latcontrol_torque.py
# selfdrive/controls/tests/test_latcontrol.py
# selfdrive/monitoring/helpers.py
# selfdrive/ui/SConscript
# selfdrive/ui/main.cc
# selfdrive/ui/qt/body.h
# selfdrive/ui/qt/home.cc
# selfdrive/ui/qt/home.h
# selfdrive/ui/qt/network/networking.cc
# selfdrive/ui/qt/network/networking.h
# selfdrive/ui/qt/network/wifi_manager.cc
# selfdrive/ui/qt/offroad/developer_panel.cc
# selfdrive/ui/qt/offroad/developer_panel.h
# selfdrive/ui/qt/offroad/experimental_mode.cc
# selfdrive/ui/qt/offroad/firehose.cc
# selfdrive/ui/qt/offroad/firehose.h
# selfdrive/ui/qt/offroad/onboarding.cc
# selfdrive/ui/qt/offroad/onboarding.h
# selfdrive/ui/qt/offroad/settings.cc
# selfdrive/ui/qt/offroad/settings.h
# selfdrive/ui/qt/offroad/software_settings.cc
# selfdrive/ui/qt/onroad/alerts.cc
# selfdrive/ui/qt/onroad/annotated_camera.h
# selfdrive/ui/qt/onroad/buttons.cc
# selfdrive/ui/qt/onroad/buttons.h
# selfdrive/ui/qt/onroad/driver_monitoring.cc
# selfdrive/ui/qt/onroad/hud.cc
# selfdrive/ui/qt/onroad/hud.h
# selfdrive/ui/qt/onroad/model.cc
# selfdrive/ui/qt/onroad/model.h
# selfdrive/ui/qt/onroad/onroad_home.cc
# selfdrive/ui/qt/onroad/onroad_home.h
# selfdrive/ui/qt/request_repeater.h
# selfdrive/ui/qt/sidebar.cc
# selfdrive/ui/qt/sidebar.h
# selfdrive/ui/qt/util.cc
# selfdrive/ui/qt/widgets/cameraview.h
# selfdrive/ui/qt/widgets/controls.cc
# selfdrive/ui/qt/widgets/controls.h
# selfdrive/ui/qt/widgets/input.cc
# selfdrive/ui/qt/widgets/input.h
# selfdrive/ui/qt/widgets/prime.cc
# selfdrive/ui/qt/widgets/prime.h
# selfdrive/ui/qt/widgets/ssh_keys.h
# selfdrive/ui/qt/widgets/toggle.h
# selfdrive/ui/qt/widgets/wifi.cc
# selfdrive/ui/qt/widgets/wifi.h
# selfdrive/ui/qt/window.cc
# selfdrive/ui/qt/window.h
# selfdrive/ui/tests/cycle_offroad_alerts.py
# selfdrive/ui/tests/test_ui/run.py
# selfdrive/ui/translations/main_ar.ts
# selfdrive/ui/translations/main_de.ts
# selfdrive/ui/translations/main_es.ts
# selfdrive/ui/translations/main_fr.ts
# selfdrive/ui/translations/main_ja.ts
# selfdrive/ui/translations/main_ko.ts
# selfdrive/ui/translations/main_nl.ts
# selfdrive/ui/translations/main_pl.ts
# selfdrive/ui/translations/main_pt-BR.ts
# selfdrive/ui/translations/main_th.ts
# selfdrive/ui/translations/main_tr.ts
# selfdrive/ui/translations/main_zh-CHS.ts
# selfdrive/ui/translations/main_zh-CHT.ts
# selfdrive/ui/ui.cc
# selfdrive/ui/ui.h
# system/manager/build.py
# system/version.py
2025-11-16 02:50:28 -05:00
infiniteCable2
fa625dd1a9
Merge branch 'master' of https://github.com/infiniteCable2/openpilot into pre_curve
2025-10-30 20:15:56 +01:00
infiniteCable2
938c21bf66
Merge branch 'master' of https://github.com/sunnypilot/sunnypilot
2025-10-30 20:15:24 +01:00
infiniteCable2
d5c934d435
Predicative Speed Limits Optimization
2025-10-30 19:25:28 +01:00
THERoenPR
707e2aedae
controlsd: add CP_SP to get_pid_accel_limits ( #1410 )
...
* Add CP_SP to get_pid_accel_limits() call in controlsd
Match input parameters of CP_SP commit
* bump
* bump
---------
Co-authored-by: roenthomas <43324106+roenthomas@users.noreply.github.com >
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-10-28 22:13:39 -04:00
infiniteCable2
71447beae2
Merge branch 'master' of https://github.com/sunnypilot/sunnypilot
2025-10-19 15:18:27 +02:00
Jason Wen
2825c00fcc
controlsd: update lateral delay param in a separate thread ( #1402 )
2025-10-17 22:53:31 -04:00
felsager
226465e882
Latcontrol: refactor pid error to factor out lateral jerk component ( #36280 )
2025-10-08 18:29:54 -07:00
felsager
2deb4e6f65
Lateral controllers: pass dt (delta time) explictly ( #36281 )
2025-10-08 14:39:05 -07:00
infiniteCable2
4e84da79f4
Merge branch 'master' of https://github.com/infiniteCable2/openpilot into simple_long
2025-10-03 10:47:23 +02:00
infiniteCable2
d6b4352253
Merge branch 'master' of https://github.com/sunnypilot/sunnypilot
2025-10-03 10:42:07 +02:00
infiniteCable2
4af82364f8
Update controlsd.py pass through long param
2025-10-02 20:03:49 +02:00
Jason Wen
f3ed577870
Longitudinal: reimplement Gas Interceptor (comma Pedal) support ( #1290 )
...
* init
* bump
* bump
* bump
* recheck openpilot long availability
* bump
* bump
* bump
* bump
* bump
* just base for now
* bump
* bump
* bump
* bump
* flipped
* apparently it's yucky, reverting most
* bump
* need to add for toyota
* should've been remove
* flipped
* bump
* no way
* fix
* test sdsu distance
* final tuning for pedal
* bump
2025-09-30 22:37:13 -04:00
Jason Wen
fb743d313e
Reapply "Intelligent Cruise Button Management (ICBM)" ( #1257 ) ( #1258 )
...
* Reapply "Intelligent Cruise Button Management (ICBM)" (#1257 )
This reverts commit 4441671227 .
* ICBM: `pcmCruiseSpeed` is true during initialization
* bump
* fix tests
2025-09-18 16:47:40 -04:00
Jason Wen
4441671227
Revert "Intelligent Cruise Button Management (ICBM)" ( #1257 )
...
Revert "Intelligent Cruise Button Management (ICBM) (#1242 )"
This reverts commit 1f8941367d .
2025-09-18 16:02:51 -04:00
infiniteCable2
4d20438b0e
Merge branch 'master' of https://github.com/sunnypilot/sunnypilot
2025-09-18 19:36:00 +02:00
Jason Wen
1f8941367d
Intelligent Cruise Button Management (ICBM) ( #1242 )
...
* init
* slightly more
* check across all
* publish on CC_SP
* more infra setup
* try it out for HKG for now
* slight cleanup
* oops
* legacy
* send
* actually take over
* expose toggle
* icbm
* need to allow
* fix
* name
* small fixes
* actually send it now
* set default
* use cs is_metric
* offroad only lol
* allow them all
* fix
* send desire as-is
* use stock method
* clean up hysteresis
* speed cluster may be more accurate
* rename
* allow init and resume from pcmCruise
* just send it
* fix
* only allow custom v cruise after no button press at initial enabled
* no hysteresis for now
* fix tests
* fix min check
* only apply to non pcm changes
* add ICBM
* some more ui
* bump
* slight cleanup
* fixup
* cleanup
* type hints
* type hints
* bump
* bump
* bring back hysteresis
* fix ui
* do not spam if overriding or below allowed speed
2025-09-18 00:06:16 -04:00
infiniteCable2
cda12eefc6
new param BSM RHD
2025-09-07 20:17:40 +02:00
infiniteCable2
e825639fc1
Update controlsd.py
2025-09-07 18:58:48 +02:00
infiniteCable2
8505e93bc2
Update controlsd.py
2025-09-07 18:55:33 +02:00
infiniteCable2
6728f9f373
revert more to stock angle control logic (curvature CO with offset in CC leaves to wrong limit detection), but still use curv type
2025-09-07 18:48:01 +02:00
infiniteCable2
5d057a1f03
Revert "pass yaw directly"
...
This reverts commit 8812fde77c .
2025-09-07 17:31:06 +02:00
infiniteCable2
894ef0c5c5
Merge branch 'curv_corr' of https://github.com/infiniteCable2/openpilot into curv_corr
2025-09-07 17:22:44 +02:00
infiniteCable2
8812fde77c
pass yaw directly
2025-09-07 17:22:27 +02:00
infiniteCable
d17ba5a562
Update controlsd.py
2025-09-07 16:32:17 +02:00
infiniteCable2
659963931b
prepare neccessary variables for curv correction in vw car controller
2025-09-07 15:12:14 +02:00
infiniteCable2
1d6ad46b02
Revert "remove curvature controller"
...
This reverts commit 085ebe148a .
2025-09-03 18:49:51 +02:00
infiniteCable2
085ebe148a
remove curvature controller
2025-09-03 17:25:55 +02:00
infiniteCable2
33ee0a5368
Update controlsd.py
2025-09-02 19:19:54 +02:00
infiniteCable2
4350bd0e98
curv controller only for logging and saturation
2025-09-02 18:32:45 +02:00
infiniteCable2
48df71ab73
Merge branch 'master' of https://github.com/sunnypilot/sunnypilot
2025-08-30 16:10:43 +02:00
Jason Wen
ba1da60c25
NNLC: compute error in torque space ( #1185 )
...
* NNLC: compute error in torque space
* bump
* sp happy too
* bump
* lint
* update path
* oops
* test entire loop
* bump
* test gm
* bump
* bump
2025-08-29 22:39:25 +02:00
infiniteCable2
78a89f3fad
Merge branch 'master' of https://github.com/sunnypilot/sunnypilot
2025-08-15 17:41:24 +02:00
Jason Wen
6c4c0c00b4
Merge branch 'upstream/openpilot/master' into sync-20250812
...
# Conflicts:
# opendbc_repo
# selfdrive/controls/controlsd.py
# selfdrive/controls/lib/latcontrol_angle.py
# selfdrive/controls/lib/latcontrol_pid.py
# selfdrive/controls/lib/latcontrol_torque.py
2025-08-12 23:11:18 -04:00
Harald Schäfer
455a6a586a
Misc PID refactors ( #35844 )
...
* Misc PID refactors
* dead
* finish rename
* unused import
* whitespace
* typo
* fix fan controller
* pid_log
* whitespace
* integral clipping in pid
* update ref
* cleaner
* rm print
* update ref
* revert fan changes
* forgot this
2025-08-11 14:25:29 -07:00
infiniteCable2
329e032545
Merge branch 'master' of https://github.com/sunnypilot/sunnypilot
2025-08-11 16:27:42 +02:00
Jason Wen
97c2d7e655
Merge branch 'upstream/openpilot/master' into sync-20250809
...
# Conflicts:
# common/params_keys.h
# opendbc_repo
# panda
# selfdrive/car/cruise.py
# selfdrive/controls/controlsd.py
# selfdrive/selfdrived/selfdrived.py
# selfdrive/test/process_replay/process_replay.py
# selfdrive/ui/qt/setup/setup.cc
# tinygrad_repo
2025-08-10 02:05:05 -04:00
Jason Wen
1bc12f1e21
Reapply "LagdToggle: refactor and only instantiate once" ( #1137 ) ( #1138 )
...
* Reapply "`LagdToggle`: refactor and only instantiate once" (#1137 )
This reverts commit b4f19d4860 .
* infinite woo gone
* use them hz
2025-08-09 22:50:29 -04:00
Jason Wen
b4f19d4860
Revert "LagdToggle: refactor and only instantiate once" ( #1137 )
...
Revert "`LagdToggle`: refactor and only instantiate once (#1130 )"
This reverts commit 6ae668e987 .
2025-08-09 20:06:10 -04:00
Jason Wen
6ae668e987
LagdToggle: refactor and only instantiate once (#1130 )
...
* wrap the params
* just 1 class and use a single param for now
* refactor
* fix
* cache itself
* no longer
* rename
* type hint
* in helpers instead
* lint
* all
* init as 0 to pass ci
* init as 0 to pass ci
* return_default
* fix init
* add LAT_SMOOTH_SECONDS directly in modeld, temp remove dynamic desc, red difffffffff
2025-08-09 16:51:31 -04:00
infiniteCable2
ba371576d2
Merge branch 'master' of https://github.com/sunnypilot/sunnypilot into master-new
2025-08-03 17:54:46 +02:00
DevTekVE
9dc98b36be
refactor: cleanup gravity constant handling ( #35866 )
...
* refactor: move lateral methods from init to lateral.py (#2594 )
* Extracting lateral methods to lateral.py
* cleaning
* more cleaning
* more cleaning
* Making sure it remains where it should
* Leave rate_limit where it belongs
* Moving things to `car/controls/`
* Moving rate limit to get a taste of the changes
* clean
* copy verbatim
* clean up
* more
* now we can format
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
* No need to change order of import
* refactor: consolidate ACCELERATION_DUE_TO_GRAVITY import path
* bump opendbc
* update refs
* don't import from opendbc
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-08-02 11:20:18 -07:00
Shane Smiskol
07909906d4
controlsd: speed up number checking ( #35890 )
...
Update controlsd.py
2025-08-02 00:08:18 -07:00
Jason Wen
d6474aa0a9
Merge branch 'upstream/openpilot/master' into sync-20250731
...
# Conflicts:
# .github/workflows/selfdrive_tests.yaml
# common/params.h
# common/params_keys.h
# common/params_pyx.pyx
# docs/CARS.md
# opendbc_repo
# panda
# selfdrive/car/tests/test_models.py
# selfdrive/pandad/pandad.cc
# selfdrive/pandad/pandad.h
# selfdrive/selfdrived/selfdrived.py
# selfdrive/ui/translations/main_ar.ts
# selfdrive/ui/translations/main_de.ts
# selfdrive/ui/translations/main_es.ts
# selfdrive/ui/translations/main_fr.ts
# selfdrive/ui/translations/main_ja.ts
# selfdrive/ui/translations/main_ko.ts
# selfdrive/ui/translations/main_pt-BR.ts
# selfdrive/ui/translations/main_th.ts
# selfdrive/ui/translations/main_tr.ts
# selfdrive/ui/translations/main_zh-CHS.ts
# selfdrive/ui/translations/main_zh-CHT.ts
# system/athena/athenad.py
# system/athena/manage_athenad.py
# system/manager/manager.py
# system/sentry.py
# uv.lock
Sync: `commaai/opendbc:master` into `sunnypilot/opendbc:master`
Sync: `commaai/panda:master` into `sunnypilot/panda:master`
2025-08-02 00:21:14 -04:00
Shane Smiskol
67dc69d3db
Fix stock ACC resume signal ( #35691 )
...
* use this
* missing
* clean up
2025-07-11 14:59:27 -07:00
Harald Schäfer
20fdb686ca
latcontrol torque: remove option to feed back on localizer ( #35659 )
...
* Localizer is too laggy for control
* typo
* typo
* fix test
* fix imports
* Revert "fix imports"
This reverts commit 5074f8050170f974b451e00d9fdc752f09a47d57.
* fix improt
* import
2025-07-08 14:12:46 -07:00
infiniteCable2
ec394ed9ce
Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new
2025-07-06 14:28:49 +02:00