Jason Wen
59a16b9cdc
Merge branch 'upstream/openpilot/master' into sync-20260225
...
# Conflicts:
# .github/workflows/auto_pr_review.yaml
# .github/workflows/badges.yaml
# .github/workflows/mici_raylib_ui_preview.yaml
# .github/workflows/prebuilt.yaml
# .github/workflows/raylib_ui_preview.yaml
# .github/workflows/release.yaml
# .github/workflows/repo-maintenance.yaml
# .github/workflows/tests.yaml
# .gitignore
# Dockerfile.openpilot_base
# SConstruct
# docs/CARS.md
# opendbc_repo
# panda
# release/build_release.sh
# selfdrive/modeld/SConscript
# selfdrive/modeld/modeld.py
# selfdrive/pandad/panda_safety.cc
# selfdrive/pandad/pandad.cc
# selfdrive/pandad/pandad.py
# selfdrive/test/process_replay/process_replay.py
# selfdrive/ui/layouts/onboarding.py
# selfdrive/ui/mici/layouts/home.py
# selfdrive/ui/tests/diff/replay.py
# selfdrive/ui/tests/test_ui/raylib_screenshots.py
# tools/mac_setup.sh
# uv.lock
2026-02-27 16:12:57 -05:00
Adeeb Shihadeh
b28ff40d4d
insource parameterized ( #37280 )
...
* insource parameterized
* lil more
* fix
2026-02-20 14:59:36 -08:00
Adeeb Shihadeh
66687746f9
replace dictdiffer with native capnp differ ( #37279 )
...
* replace dictdiffer with native capnp differ
* capnp diff
2026-02-20 14:20:02 -08:00
Harald Schäfer
132f10365a
relax dm timing tgwarp ( #37191 )
2026-02-12 19:52:22 -08:00
Harald Schäfer
af1583cdfc
Reapply tgwarp w NV12 fix ( #37168 )
...
* Revert "Revert tgwarp again (#37161 )"
This reverts commit 45099e7fcd .
* Weird uv sizes
* Fix interleaving
* Fix on CPU
* make CPU safe
* Prevent corruption without clone
* Claude knows speeed
* fix interleaving
* less kernels
* blob caching
* This is still slightly faster
* Comment for blob cache
2026-02-12 08:59:19 -08:00
Jason Wen
52fb0b8171
Merge branch 'upstream/openpilot/master' into sync-20260211
...
# Conflicts:
# .github/workflows/auto_pr_review.yaml
# .github/workflows/tests.yaml
# opendbc_repo
# panda
# selfdrive/pandad/pandad.py
# selfdrive/test/process_replay/test_processes.py
2026-02-11 20:16:02 -05:00
Harald Schäfer
45099e7fcd
Revert tgwarp again ( #37161 )
...
* Reapply "revert tg calib and opencl cleanup (#37113 )" (#37115 )
This reverts commit 667f3bb32f .
* revert msgq too
* msgq on master
2026-02-10 23:12:41 -08:00
Daniel Koepping
a18ddf12eb
remove azure deps ( #37084 )
...
* remove azure deps
* fix lint
* restore scripts
2026-02-10 17:51:09 -08:00
Daniel Koepping
e35a1eca99
Process replay: move refs to ci-artifacts ( #37049 )
...
* rm upload
* use ci-artifacts
* sanitize
* rm ref_commit
* add ci
* handle exept
* bootstrap
* always
* fix
* replay
* keep ref_commit fork compatibility
* remove upload-only
* apply comments
* safe diffs in master
* Revert "safe diffs in master"
This reverts commit 369fccac786a67799193e9152488813c6df20414.
* continue on master diff
* Update .github/workflows/tests.yaml
Co-authored-by: Shane Smiskol <shane@smiskol.com >
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2026-02-09 21:37:20 -08:00
Adeeb Shihadeh
667f3bb32f
Revert "revert tg calib and opencl cleanup ( #37113 )" ( #37115 )
...
* Revert "revert tg calib and opencl cleanup (#37113 )"
This reverts commit 51312afd3d .
* power draw is a lil higher
* just don't miss a cycle
* fix warp targets
* fix tinygrad dep
2026-02-07 21:36:44 -08:00
Adeeb Shihadeh
55a31d7657
replace tabulate with simple helper ( #37122 )
2026-02-07 18:27:16 -08:00
Harald Schäfer
51312afd3d
revert tg calib and opencl cleanup ( #37113 )
...
* Revert "Remove all the OpenCL (#37105 )"
This reverts commit d5cbb89d84 .
* Revert "rm common/mat.h"
This reverts commit 4ce701150a .
* Revert "Calibrate in tg (#36621 )"
This reverts commit 593c3a0c8e .
2026-02-07 09:10:29 -08:00
Harald Schäfer
593c3a0c8e
Calibrate in tg ( #36621 )
...
* squash
* bump tg
* fix linmt
* Ready to merge
* cleaner
* match modeld
* more dead stuff
2026-02-06 14:13:46 -08:00
Jason Wen
959ebd22d8
Merge branch 'upstream/openpilot/master' into sync-20260201
...
# Conflicts:
# .github/workflows/auto_pr_review.yaml
# .github/workflows/docs.yaml
# .github/workflows/repo-maintenance.yaml
# .gitignore
# docs/CARS.md
# opendbc_repo
# panda
# pyproject.toml
# selfdrive/controls/lib/longitudinal_planner.py
# selfdrive/test/process_replay/ref_commit
# tinygrad_repo
2026-02-04 00:14:58 -05:00
Jason Wen
8f970bcb99
Reapply "latcontrol_torque: lower kp and lower friction threshold (commaai/openpilot#36619)" ( #1581 ) ( #1669 )
...
* Reapply "latcontrol_torque: lower kp and lower friction threshold (commaai/openpilot#36619)" (#1581 )
This reverts commit 7560497f
* bump
2026-02-02 22:13:37 -05:00
Adeeb Shihadeh
c35df583a5
tools: enable log caching by default ( #36962 )
2026-01-31 15:52:50 -08:00
Shane Smiskol
df7f426405
bump opendbc ( #37043 )
...
* bump opendbc
* update refs
2026-01-30 00:09:19 -08:00
felsager
c9cfe2c727
LatcontrolTorque: move jerk calculation and filtering outside if else ( #37011 )
2026-01-21 12:32:56 -08:00
Harald Schäfer
adf6f28ebf
LatcontrolTorque: always fill buffer ( #36991 )
2026-01-20 15:34:57 -08:00
Jason Wen
53327edb50
Merge branch 'upstream/openpilot/master' into sync-20260111
...
# Conflicts:
# common/api.py
# docs/CARS.md
# opendbc_repo
# panda
# scripts/lint/lint.sh
# selfdrive/car/car_specific.py
# selfdrive/car/card.py
# selfdrive/test/process_replay/ref_commit
# system/hardware/hardwared.py
# tinygrad_repo
2026-01-20 07:29:25 -05:00
Harald Schäfer
f51c2aeced
Modeld: less lat smoothing ( #36987 )
...
* lat is plenty smooth!
* fix
2026-01-09 15:04:33 -08:00
Adeeb Shihadeh
ea01a53711
switch from mypy to ty ( #36961 )
2025-12-28 10:42:49 -08:00
James Vecellio-Grant
7560497f15
Revert "latcontrol_torque: lower kp and lower friction threshold (commaai/openpilot#36619)" ( #1581 )
...
* Revert " latcontrol_torque: delay independent jerk and lower kp and lower friction threshold (#36619 )"
This reverts commit f01391a7d9
* revert opendbc_repo
* bump
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-12-17 21:32:18 -05:00
Jason Wen
2458a6d115
Merge branch 'upstream/openpilot/master' into sync-20251217
...
# Conflicts:
# docs/CARS.md
# opendbc_repo
2025-12-17 21:09:26 -05:00
Shane Smiskol
9e4c2bcacf
bump opendbc ( #36878 )
...
* bump
* update docs
* bump
* gotta go fast
2025-12-15 16:41:16 -08:00
Jason Wen
03c8494dbc
Merge branch 'upstream/openpilot/master' into sync-20251213
...
# Conflicts:
# README.md
# common/api.py
# docs/CARS.md
# opendbc_repo
# panda
# selfdrive/ui/mici/layouts/offroad_alerts.py
# system/ui/README.md
# system/version.py
2025-12-13 01:50:42 -05:00
felsager
f01391a7d9
latcontrol_torque: delay independent jerk and lower kp and lower friction threshold ( #36619 )
2025-11-25 10:23:02 -08:00
discountchubbs
ceed203de7
Merge remote-tracking branch 'openpilot/master' into nov-19-sync
2025-11-21 09:42:54 -08: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
ZwX1616
b778da1d7c
dmonitoringmodeld: clean up data structures ( #36624 )
...
* update onnx
* get meta
* start
* cast
* deprecate notready
* more
* line too long
* 2
2025-11-14 14:29:04 -08:00
felsager
736e1fa7b7
Revert "latcontrol_torque: make feed-forward jerk independent of individual platform lag ( #36334 )"
...
This reverts commit fc4e5007fd .
2025-11-03 10:31:27 -08:00
felsager
177c7f1cf3
Revert "latcontrol_torque: retune torque controller ( #36392 )"
...
This reverts commit 76c5cb6d87 .
2025-11-03 10:31:22 -08:00
felsager
76c5cb6d87
latcontrol_torque: retune torque controller ( #36392 )
2025-10-30 13:34:44 -07:00
felsager
fc4e5007fd
latcontrol_torque: make feed-forward jerk independent of individual platform lag ( #36334 )
2025-10-30 13:29:38 -07:00
felsager
936740201c
latcontrol_torque: refactor low speed factor into pid controller ( #36364 )
2025-10-22 11:50:37 -07:00
felsager
a2e7f3788f
LateralTorqueState: log controller version and desired lateral jerk ( #36421 )
2025-10-22 10:56:34 -07:00
Harald Schäfer
b2e3dd17ea
torque gains not car specific ( #36404 )
...
* torque gains not car specific
* remove opendbc interfaces longitudinal control kf field assignment that makes hitl test fail
* typo
* another typo
* bump
* bump openbc
* update ref
---------
Co-authored-by: felsager <d.felsager@gmail.com >
2025-10-20 17:16:03 -07:00
felsager
de805e4af7
Lateral torque controller: use measurement rate as error rate ( #36291 )
2025-10-09 14:57:12 -07:00
felsager
226465e882
Latcontrol: refactor pid error to factor out lateral jerk component ( #36280 )
2025-10-08 18:29:54 -07:00
Jason Wen
ecee67dd64
Locationd: reimplement liveLocationKalman and use position_geodetic in liveMapDataSP ( #1275 )
...
* init
* desc
* llk welcome back
* more
* new param to write
* update mapd
* no migration
* no refactor for now
* exec
* rename
* bearing
* fix test
* lint
2025-09-22 23:39:55 -04:00
Jason Wen
ec8f036850
Merge branch 'upstream/openpilot/master' into sync-20250908
...
# Conflicts:
# .github/workflows/selfdrive_tests.yaml
# README.md
# docs/CARS.md
# opendbc_repo
# panda
# selfdrive/car/tests/test_car_interfaces.py
# selfdrive/modeld/modeld.py
# 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/hardware/hardwared.py
# system/updated/updated.py
# tinygrad_repo
# uv.lock
2025-09-13 15:23:36 -04:00
Shane Smiskol
ef870d5533
bump opendbc ( #36103 )
...
* bump
* update refs
2025-09-04 18:11:44 -07:00
Kacper Rączy
76e91da3ad
process_replay: use LiveParametersV2 in custom params ( #36080 )
...
Fill LiveParametersV2 in get_custom_params_from_lr
2025-08-28 20:11:20 +00:00
felsager
b976135d2f
torqued: apply offset (with more robust unit test) ( #36075 )
...
* torqued: apply latAccelOffset to torque control feed forward
* test learned latAccelOffset captures roll compensation bias on straight road driving, when the device is not flush in roll relative to the car
* test correct torqued latAccelOffset parameter convergence
2025-08-27 13:06:01 -07:00
Maxime Desroches
f40f7f9ece
Revert "torqued: apply offset ( #36005 )"
...
This reverts commit 1d74a97ba6 .
2025-08-26 21:45:49 -07:00
Harald Schäfer
1d74a97ba6
torqued: apply offset ( #36005 )
...
* torqued: apply latAccelOffset to torque control feed forward
* test learned latAccelOffset captures roll compensation bias on straight road driving, when the device is not flush in roll relative to the car
* test correct torqued latAccelOffset parameter convergence
---------
Co-authored-by: felsager <d.felsager@gmail.com >
2025-08-25 13:50:10 -07:00
commaci-public
aea467ff02
[bot] Update Python packages ( #36053 )
...
* Update Python packages
* bump
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-08-25 11:43:49 -07:00
Jason Wen
798e9071d8
Merge branch 'upstream/openpilot/master' into sync-20250823
...
# Conflicts:
# .github/workflows/release.yaml
# README.md
# RELEASES.md
# common/params_keys.h
# docs/CARS.md
# opendbc_repo
# panda
# release/build_stripped.sh
# selfdrive/controls/lib/longitudinal_planner.py
# selfdrive/modeld/modeld.py
# selfdrive/ui/feedback/feedbackd.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/version.py
# uv.lock
2025-08-24 14:52:21 -04:00
commaci-public
3d879dd1ae
[bot] Update Python packages ( #36012 )
...
* Update Python packages
* add psa
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-08-17 17:53:50 -07:00
Shane Smiskol
ab44c9a4ff
Torque controller: refactor calculations to be in accel space ( #35790 )
...
* clean up
* little confusing but works
* clean up
* fix
* pid outputs torque again, fix windup above max torque
* clean up
* fix
* fix
* typo
* fix conflicts
* fix PID
* cleanups
* seems correct
* updte
* inverse
* whitespace
* move
* small cleanup
* more cleanup
* update ref
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com >
2025-08-15 11:39:56 -07:00