royjr
560cde61ae
sync: fix upstream conflicts
...
Co-authored-by: royjr <royjr96@gmail.com >
2026-07-19 23:18:43 -04:00
Jason Wen
14318d2f09
Merge commit '91b067cca0913d0cc9f8b5dab68e3302e278efdc' into sync-20260716
...
# Conflicts:
# .github/labeler.yaml
# .github/workflows/auto_pr_review.yaml
# .github/workflows/docs.yaml
# .github/workflows/release.yaml
# .github/workflows/repo-maintenance.yaml
# .github/workflows/tests.yaml
# .github/workflows/ui_preview.yaml
# README.md
# SConstruct
# conftest.py
# docs/CARS.md
# msgq_repo
# opendbc_repo
# openpilot/cereal/messaging/tests/validate_sp_cereal_upstream.py
# openpilot/common/api.py
# openpilot/common/hardware/hw.py
# openpilot/common/version.py
# openpilot/selfdrive/assets/fonts/Audiowide-Regular.ttf
# openpilot/selfdrive/assets/sounds/prompt_single_high.wav
# openpilot/selfdrive/assets/sounds/prompt_single_low.wav
# openpilot/selfdrive/car/card.py
# openpilot/selfdrive/car/helpers.py
# openpilot/selfdrive/car/tests/test_car_interfaces.py
# openpilot/selfdrive/car/tests/test_cruise_speed.py
# openpilot/selfdrive/controls/lib/desire_helper.py
# openpilot/selfdrive/controls/lib/longcontrol.py
# openpilot/selfdrive/controls/plannerd.py
# openpilot/selfdrive/controls/radard.py
# openpilot/selfdrive/controls/tests/test_longcontrol.py
# openpilot/selfdrive/modeld/compile_warp.py
# openpilot/selfdrive/modeld/modeld.py
# openpilot/selfdrive/monitoring/policy.py
# openpilot/selfdrive/monitoring/test_monitoring.py
# openpilot/selfdrive/selfdrived/events.py
# openpilot/selfdrive/selfdrived/selfdrived.py
# openpilot/selfdrive/ui/layouts/onboarding.py
# openpilot/selfdrive/ui/mici/layouts/onboarding.py
# openpilot/selfdrive/ui/soundd.py
# openpilot/selfdrive/ui/tests/diff/replay.py
# openpilot/selfdrive/ui/translations/app.pot
# openpilot/system/athena/athenad.py
# openpilot/system/athena/manage_athenad.py
# openpilot/system/hardware/hardwared.py
# openpilot/system/loggerd/config.py
# openpilot/system/manager/github_runner.sh
# openpilot/system/manager/manager.py
# openpilot/system/updated/updated.py
# panda
# pyproject.toml
# scripts/lint/lint.sh
# system/manager/process_config.py
# system/statsd.py
# tinygrad_repo
# tools/release/build_release.sh
# tools/release/build_stripped.sh
# uv.lock
2026-07-16 00:58:32 -04:00
Jason Wen
a43fc920b5
Merge commit 'b871364e1f48af04113f05c0f6604a9c42f57ac7' into sync-20260715-1
...
# Conflicts:
# .github/workflows/prebuilt.yaml
# common/api.py
# common/params_keys.h
# opendbc_repo
# selfdrive/controls/controlsd.py
# selfdrive/controls/lib/desire_helper.py
# selfdrive/modeld/modeld.py
# selfdrive/ui/mici/layouts/settings/device.py
# selfdrive/ui/soundd.py
# system/athena/athenad.py
# system/athena/registration.py
# system/hardware/hardwared.py
# system/loggerd/deleter.py
# system/manager/manager.py
# system/manager/process_config.py
# system/sentry.py
# system/updated/updated.py
# tinygrad_repo
# tools/scripts/uiview.py
2026-07-15 23:33:33 -04:00
Adeeb Shihadeh
5edc0bd89d
mv root dirs into nested openpilot ( #38219 )
2026-06-21 18:49:46 -07:00
Adeeb Shihadeh
20e0f21b58
prefix paths with openpilot ( #38223 )
...
* prefix paths with openpilot
* fix setup root detection
* fix split branch codespell skips
2026-06-21 18:28:35 -07:00
Adeeb Shihadeh
37eda06c95
move cereal/ into nested openpilot ( #38220 )
2026-06-21 17:55:17 -07:00
Adeeb Shihadeh
df1663c58d
the one true car.capnp ( #38221 )
...
* the one true car.capnp
* fix jotpluggler capnp import path
* bump to master
2026-06-21 17:32:19 -07:00
Adeeb Shihadeh
cea5273f1f
move version to common/ ( #38210 )
2026-06-21 09:43:53 -07:00
Adeeb Shihadeh
fddb9fb31c
remove statsd ( #38204 )
2026-06-20 16:35:28 -07:00
Adeeb Shihadeh
b871364e1f
remove rest of docker ( #38203 )
2026-06-20 16:22:37 -07:00
Adeeb Shihadeh
e0e9f1a4d3
move test_power_draw.py
2026-06-20 16:12:54 -07:00
Adeeb Shihadeh
160942dfde
move HAL to common/hardware/ ( #38202 )
...
* move HAL to common/hardware/
* lint
* rm shim
2026-06-20 16:09:22 -07:00
Adeeb Shihadeh
52e25ebe4e
we don't have this anymore
2026-06-20 16:08:24 -07:00
Adeeb Shihadeh
3b4077d31b
system/hardware/ cleanup ( #38201 )
...
* imei cleanup
* rm get_modem_version
* cpp cleanup
* that's not in the panda!
2026-06-20 15:51:01 -07:00
Adeeb Shihadeh
62b97fabf7
merge selfdrive/debug/ into tools/scripts/ ( #38195 )
...
* merge selfdrive/debug/ into tools/scripts/
* rm unused
* single timings script
* lil more
* profiling is scripts quality
2026-06-20 13:52:16 -07:00
Christopher Milan
cd2c590d50
bump tinygrad ( #38176 )
...
* bump tinygrad
* wip: try this
* origin/master
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Comma Device <device@comma.ai >
2026-06-17 11:24:11 -07:00
Harald Schäfer
ddc8d37136
Desire keep pulsing is dead ( #38187 )
2026-06-17 10:48:53 -07:00
David
d4db600d4b
ui diff: add multithreading and improve logging (split from #37328 ) ( #37474 )
...
* split out and refactor
* simplify
* rm extra line
* use threadpoolexecutor to handle exceptions
* simplify
* improve
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2026-06-17 10:27:46 -07:00
David
5ab7e48479
fix(ui): fill and center onroad camera if too small ( #37673 )
...
* ui: ensure zoom accommodates full view area in AugmentedRoadView
* fix: use _content_rect
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2026-06-17 09:54:24 -07:00
Andi Radulescu
e2e3703ae4
ui: fix false "NO PANDA" flash on screen wake ( #37404 )
...
* ui: fix false "NO PANDA" flash on screen wake
* ui: use recv_time for panda timeout instead of frame counting
* ui: use sm.alive for panda timeout
2026-06-17 08:14:07 -07:00
hypery11
93224b3c05
speedup pytest collection ( #37977 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2026-06-16 16:28:37 -07:00
Robbie Wadley
8a80bd70e7
fix: cruise faults should not disable silently ( #37557 )
...
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2026-06-16 16:25:40 -07:00
Adeeb Shihadeh
c0456590f6
mici ui: add branch switcher ( #38153 )
...
* mici ui: add branch switcher
* add icon
2026-06-16 14:01:14 -07:00
Harald Schäfer
a40fa3a0b0
modeld: run the driving model as a single combined onnx ( #38173 )
2026-06-12 18:35:52 -07:00
Daniel Koepping
f9cc67896c
Improve lateral maneuvers ( #38159 )
...
* improve lat maneuver report
* rm torque jerk
* add jitter maneuver
* add to 30mph
* add jerk
* color
* more state
* override
* abort reason
* abort
* rm text
* pad for small text
2026-06-11 18:59:56 -07:00
YassineYousfi
9ef3cfdf9a
compile modeld: use tmp file name ( #38170 )
2026-06-11 12:29:56 -07:00
Harald Schäfer
4024d13dda
Revert "Op model16 deep ( #38073 )" ( #38166 )
...
This reverts commit f02d134f40 .
2026-06-11 09:32:24 -07:00
Armand du Parc Locmaria
b2bb71b4b7
modeld: less cross device copies ( #38168 )
...
* single copy for frames
* single copy out
* missed this
* pack npy inputs to the policy
* strict zip
* strict zip
2026-06-10 22:02:28 -07:00
Kacper Rączy
5a7b710d90
lagd: invalidate cached estimates on major estimator update ( #38162 )
...
* Versioning
* comment
* Tests
* fix issues
2026-06-11 02:25:23 +00:00
Armand du Parc Locmaria
bdac9efa1e
modeld: compress modelV2 into drivingModelData ( #38165 )
...
* modeld: compress modelV2 into drivingModelData
* slightly better
* less diff
* whitespace
* dedupe with migrate?
* Revert "dedupe with migrate?"
This reverts commit f31fe34994f4331f45e14a035df4847905d37540.
2026-06-10 17:06:09 -07:00
Shane Smiskol
433c52f623
radar errors: only gate enable if openpilot long ( #38145 )
...
only prevent engagement for op long cars
2026-06-09 16:56:48 -07:00
Daniel Koepping
24d373062d
soundd: fix long wav playback and mic feedback ( #38155 )
...
fix soundd long duration playback and mic feedback
2026-06-09 16:37:45 -07:00
Jason Wen
01a843e0ac
ui: reset Enforce Torque Control and NNLC if both are enabled ( #1863 )
...
* ui: reset Enforce Torque Control and NNLC if both are enabled
* block
2026-06-09 02:15:42 -04:00
MVL
bc27262a92
Revert "deprecate carState.brake" for Honda Gas Interceptor ( #1860 )
...
* Return Honda exception removed in commaai#37857
Added handling for brakePressed state with conditions for Honda models.
* Add CAR back to imports
* match
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2026-06-08 23:20:51 -04:00
Bruce Wayne
7abe0205fd
modeld test: 1ms extra buffer
2026-06-08 15:17:07 -07:00
Adeeb Shihadeh
b0600a4225
rm unused updated test
2026-06-07 10:00:08 -07:00
Daniel Koepping
cc110d1eb1
Add driverMonitoringEscalation for stock DM trigger ( #38143 )
...
* trigger dm
* rename
* ci
* opendbc bump
2026-06-06 12:02:46 -07:00
Daniel Koepping
14a00e0cc8
Add latcontrol for curvature ( #38141 )
...
* undeprecate curvature
* use pid_log
* bump
* fix test
* bump
* bump
* fix
* tune saturation
* bump
* fix torque bar
* bump
* rm redundant
* reduce sesitivity
* pid
* bump
* reset opendbc
* preserve sorting
* bump opendbc
2026-06-05 20:32:30 -07:00
Armand du Parc Locmaria
268126f376
usbgpu: pin modeld ( #38123 )
...
usbgpu: pin modeld to core 7
2026-06-03 23:32:32 -07:00
Kacper Rączy
900a896c63
lagd: higher min speed ( #38133 )
...
* Higher min vego
* Use CV
* Bump speed in simulated tests
2026-06-04 03:24:27 +00:00
brian
094591793a
A valid livePose should not carry a timestamp produced from uninitialized Kalman filter time ( #38124 )
...
* locationd: require finite filter time for valid livePose
* cast to bool and rename
2026-06-03 23:25:39 +00:00
Harald Schäfer
f02d134f40
Op model16 deep ( #38073 )
...
* modeld: RL driving model with 3-file split
Split the driving model into vision + off_policy + on_policy ONNX
files and wire up the RL policy:
- 3-file model split (vision / off_policy / on_policy), replacing the
combined big_driving_policy/vision models
- compiler updates for the split models
- actually consume the policy action in modeld
- add desire state to the driving model
- model iterations (smoothness, off/on-policy weight updates)
* modeld: update driving model
* 1e72cf5a-785f-45ea-888f-28cdb14785de/100
* tinygrad hack
* fix parsing
* looser timing
* big
* Remove unnecessary modeld rebase changes
* Tighten modeld split cleanup
---------
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Armandpl <adpl33@gmail.com >
2026-06-03 12:48:58 -07:00
Jason Wen
3137a32db4
Merge branch 'upstream/master' into sync-20260517-new-new
2026-06-03 01:45:40 -04:00
Daniel Koepping
5b3d5f74ed
test models: add VW MEB angle exception ( #38119 )
...
* add vw meb exception
* comment
2026-06-02 19:23:31 -07:00
Harald Schäfer
d09a411cb4
Refactor compile_modeld model setup ( #38128 )
2026-06-02 16:35:40 -07:00
Harald Schäfer
69e2c321e4
Frame drop: only allow 1percent ( #38127 )
2026-06-01 22:11:02 -07:00
Adeeb Shihadeh
c87f613659
agnos 18.4: pin pycapnp to 2.1.0 ( #38126 )
...
* Revert "modeld: fix capnp memory leak (#38117 )"
This reverts commit 0f17a98793 .
* Revert "fix memory leak from pycapnp 2.2+ (#38001 )"
This reverts commit 294cb687f6 .
* downgrade
* agnos 18.4
2026-06-01 20:43:32 -07:00
Harald Schäfer
249cafe897
Prereqs deep models ( #38125 )
...
* deep pre-req
* modeld changes
* fix parsing
* comment
* fix reporter
2026-06-01 18:43:47 -07:00
Shane Smiskol
0f17a98793
modeld: fix capnp memory leak ( #38117 )
...
* modeld leak
* rm
2026-06-01 18:35:44 -07:00
Shane Smiskol
c76f481ddc
mici ui: recover from updater failed ( #37427 )
...
fix
2026-06-01 00:11:40 -07:00