Jason Wen
3137a32db4
Merge branch 'upstream/master' into sync-20260517-new-new
2026-06-03 01:45:40 -04:00
Jason Wen
dfc3c98b22
Revert "DM: Lancia Delta HF Integrale model" ( #1849 )
...
Revert "DM: Lancia Delta HF Integrale model (#37696 )"
This reverts commit d8569b07eb .
2026-05-26 23:31:54 -04:00
ZwX1616
4ecbdb0d7a
DM: reduce _DCAM_UNCERTAIN_RESET_COUNT to 2 sec ( #38027 )
2026-05-12 14:57:59 -07:00
Shane Smiskol
3a764c0ae3
Params: rm nonblocking funcs ( #38016 )
...
* rm nonblocking funcs
* same behavior
* and put_bool
* missing!
* and nonblocking
* cmt
2026-05-11 20:00:00 -07:00
ZwX1616
2596de8543
Revert "DM: Lancia Delta HF Integrale model ( #37696 )" ( #37971 )
...
This reverts commit d8569b07eb .
2026-05-06 19:25:34 -07:00
Jason Wen
0b7df7df10
DM: wheel touch enforcement in MADS ( #1820 )
2026-04-28 01:29:54 -04:00
Adeeb Shihadeh
b29d0a17af
DM: readability, part 1 ( #37872 )
...
* spellings
* unused
* no roll
* lil more
* lil more
* one more
* policy enum
* better trans
* set_timer -> set_policy
* set_timer -> set_policy
* no yaonet
* del redundant code
---------
Co-authored-by: ZwX1616 <zwx1616@gmail.com >
2026-04-21 15:43:13 -07:00
Adeeb Shihadeh
e202bbe4aa
monitoring: remove redundant README
2026-04-21 11:04:46 -07:00
Adeeb Shihadeh
6996e87f8d
dm: helpers.py -> policy.py ( #37864 )
2026-04-20 19:20:48 -07:00
ZwX1616
389b639ef2
DriverMonitoringState v2 ( #37799 )
...
* draft ds
* better names
* what is this
* build new
* better names2
* more
* bit more cleanup
* rm those
* .
* .2
* selfdrived
* depre
* hk
* fix test
* fix rest
* 1
* fix enum
* update cereal
* fix rest
* more
* add step
* fix all
* imports
* cant?
* .
* simplify
* bool
* fix some migrate
* cleanup
* fix fix
* Update cereal/log.capnp
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* touchup
* what
---------
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2026-04-17 21:58:05 -07:00
Jason Wen
9541692eb0
Merge branch 'upstream/openpilot/master' into sync-20260412
...
# Conflicts:
# cereal/log.capnp
# docs/CARS.md
# opendbc_repo
# panda
# selfdrive/modeld/SConscript
# selfdrive/monitoring/test_monitoring.py
# selfdrive/ui/soundd.py
# tinygrad_repo
# uv.lock
2026-04-12 16:19:47 -04:00
Adeeb Shihadeh
8b53f9158d
Rename DM alerts to numbered stages ( #37783 )
...
* Rename DM alerts to numbered stages
* Handle renamed DM events in replay migration
* Remove replay migration test
* Skip unknown replay event names
2026-04-08 14:29:32 -07:00
Andi Radulescu
19d56f685b
DM: auto reset audible alert coming to a stop ( #37071 )
...
* dm: suppress audible alert at standstill
* test: driver distracted then stops at standstill
* use recovery instead
* add back
* fix comment
---------
Co-authored-by: ZwX1616 <zwx1616@gmail.com >
2026-04-07 22:11:00 -07:00
Jason Wen
d398f9951e
Merge branch 'upstream/openpilot/master' into sync-20260401
...
# Conflicts:
# .github/workflows/auto_pr_review.yaml
# .github/workflows/repo-maintenance.yaml
# README.md
# SConstruct
# docs/CARS.md
# opendbc_repo
# panda
# selfdrive/car/card.py
# selfdrive/controls/controlsd.py
# selfdrive/selfdrived/selfdrived.py
# selfdrive/test/process_replay/migration.py
# selfdrive/ui/translations/app_fr.po
Platform List: sync with latest
Sync: `commaai/panda:master` → `sunnypilot/panda:master`
2026-04-02 21:14:23 -04:00
ZwX1616
d8569b07eb
DM: Lancia Delta HF Integrale model ( #37696 )
...
* 00c00ac7-7b6e-4546-b86f-7ddd5f0596b4
* mici cleanup
* update msg
* rename
2026-04-01 16:14:15 -07:00
ZwX1616
5dcaf3bef8
DM: fewer alerts during maneuvers ( #37751 )
...
* 2in1
* clip
* drop aodm lowspeed
* cleanup
* add lower bd
* that was random
2026-04-01 00:40:13 -07:00
Jason Wen
d3e26cf695
Merge branch 'upstream/openpilot/master' into sync-20260227
...
# Conflicts:
# .github/workflows/release.yaml
# .github/workflows/setup/action.yaml
# .github/workflows/tests.yaml
# panda
Sync: `commaai/opendbc:master` → `sunnypilot/opendbc:master`
Sync: `commaai/panda:master` → `sunnypilot/panda:master`
2026-02-27 17:05:28 -05:00
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
ZwX1616
04dcdf46bc
DM: Le Mans GT3 Model ( #37425 )
...
* 81248b12-6592-4a5c-9b59-a44c64123b2b
* install tg instead of onnx
* fix python path
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com >
2026-02-26 16:10:57 -08:00
ZwX1616
3c4ddba992
DM: Ford GT Le Mans Model ( #37257 )
...
* b483cec4-7816-4570-a774-be3a2c100098/50
* shipfest
* da4b8724-8998-45da-aa36-d8fb390492b9
* revert
* typo
* deprecates
* 53a2718f-206b-4400-a70b-16915de18472/200
* bump
* update
2026-02-18 20:09:46 -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
ZwX1616
e946e9de0b
Revert "DM: Ford GT model" ( #37148 )
...
Revert "DM: Ford GT model (#37013 )"
This reverts commit 1459d3519d .
2026-02-10 13:56:07 -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
ZwX1616
1459d3519d
DM: Ford GT model ( #37013 )
...
* b483cec4-7816-4570-a774-be3a2c100098/50
* shipfest
* da4b8724-8998-45da-aa36-d8fb390492b9
* revert
* typo
* deprecates
2026-01-22 18:41:08 -08:00
Matt Purnell
e96b0da9d7
ci: Add unit test to prevent MADS DM regressions ( #1602 )
...
* monitoring/tests: Add unit test to prevent MADS regressions
* dm: remove TODO
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-12-21 23:07:01 -05:00
Jason Wen
452aa67581
DM: fix upstream merge overwrite with latActive check ( #1594 )
...
* Update enabled condition to include latActive
* Todo-sp
2025-12-20 15:20:24 -05: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
YassineYousfi
d8125f50d2
dm: speedup stat filters convergence ( #36756 )
...
* dm: speedup stat filters convergence
* lint
2025-12-11 09:38:53 -08:00
YassineYousfi
dc02a2d385
dm: adjust cold start pose offsets ( #36739 )
...
* dm: adjust cold start offsets and thresholds
* change just offsets for now
2025-12-02 15:17:59 -08:00
YassineYousfi
49178539f3
dm: DriverProb ( #36687 )
...
* wip
* ci
* fix
2025-11-25 18:52:35 -08:00
discountchubbs
ceed203de7
Merge remote-tracking branch 'openpilot/master' into nov-19-sync
2025-11-21 09:42:54 -08:00
YassineYousfi
f19ff793f5
dm more typo
2025-11-20 16:27:58 -08:00
ZwX1616
be700bc825
fix rhd behavior during preview/onboarding ( #36657 )
...
* rhd learning not required for demo
* fix switching and saving
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-11-20 13:42:20 -08:00
YassineYousfi
38697ac628
Fix typo in phoneProbValidCount field name ( #36662 )
...
* Fix typo in phoneProbValidCount field name
* Fix typo in phoneProbValidCount key
2025-11-20 12:30:28 -08:00
YassineYousfi
fa56d539a7
dm: phone offseter class + log stats ( #36656 )
...
* dm: phone offseter class + log stats
* lint:/
2025-11-20 10:28:19 -08:00
YassineYousfi
9d0ab68f3b
dm: settings w device type ( #36650 )
...
* dm: settings w device type
* lint
* fix
2025-11-19 11:14:04 -08:00
Adeeb Shihadeh
689f884810
DM test mode ( #36631 )
2025-11-17 21:37:40 -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
ZwX1616
1262fca36b
add check driver camera alert ( #36577 )
...
* add event
* missing arg
* creation_delay is wrong
* add logging
* set offroad alert
* Update selfdrive/selfdrived/alerts_offroad.json
Co-authored-by: Shane Smiskol <shane@smiskol.com >
* rm onard
* add details
* rename to DM
* log rename
* no poss
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-11-07 15:18:45 -08:00
ZwX1616
38eb400e41
monitoring: account for OS cam distribution shift ( #36567 )
...
* this should match
* roughly matching FPR at 2 to 1 cost
2025-11-04 16:00:15 -08:00
ZwX1616
d24a14cb39
DM: Large Donut model 🍩 ( #36198 )
...
* 59cfd731-6f80-4857-9271-10d952165079/225
* deprecate at the end
2025-09-30 20:32:19 -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
64d8be9176
DM: fix always on permanent lockout ( #35834 )
...
fix check and comments
2025-07-28 13:17:02 -07:00
Shane Smiskol
39673deb77
Add CLEAR_ON_IGNITION_ON ( #35710 )
...
* add CLEAR_ON_IGNITION_ON
* hardwared is the only place that currently checks all ignition sources. doing it in pandad wouldn't make sense. this okay?
* remember
* only two usages but meh
* manager should probably be the only daemon to manage params
* clean up
* oh this is craze
* Update selfdrive/monitoring/helpers.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* together
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-16 20:59:12 -07:00
Jason Wen
0102a1c704
DM: Use carControl.latActive for MADS DM monitoring ( #845 )
2025-04-22 00:03:06 -04:00
Jason Wen
86a390780e
DM: Enforce monitoring of MADS state in driver monitoring ( #831 )
...
* DM: Enforce monitoring of MADS state in driver monitoring
Added `selfdriveStateSP.mads.enabled` to track MADS engagement. This ensures monitoring logic accounts for MADS alongside the existing selfdrive state checks, improving feature integration and event handling.
* how
* okay, only when active
2025-04-17 13:31:43 -04:00
Jason Wen
bdcc9d579f
Revert "DM: Enforce monitoring of MADS state in driver monitoring" ( #830 )
...
Revert "DM: Enforce monitoring of MADS state in driver monitoring (#818 )"
This reverts commit 3615b1a203 .
2025-04-17 13:03:07 -04:00
Jason Wen
3615b1a203
DM: Enforce monitoring of MADS state in driver monitoring ( #818 )
...
* DM: Enforce monitoring of MADS state in driver monitoring
Added `selfdriveStateSP.mads.enabled` to track MADS engagement. This ensures monitoring logic accounts for MADS alongside the existing selfdrive state checks, improving feature integration and event handling.
* how
2025-04-14 14:50:21 -04:00
Adeeb Shihadeh
d98a554b17
tici: set core affinity for all realtime processes ( #34574 )
2025-02-11 21:20:31 -08:00