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
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
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
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
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
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
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
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
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
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
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
Adeeb Shihadeh
d98a554b17
tici: set core affinity for all realtime processes ( #34574 )
2025-02-11 21:20:31 -08:00
Sammohana
8eebce75ac
Getting rid of openpilot.common.numpy_fast ( #34368 )
...
* Got rid openpilot.common.numpy_fast
* fixed some data type erros
* importing numpy instead of importing specific functions
* fixing some numpy importing mistakes
* Update selfdrive/car/cruise.py
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-01-14 14:52:56 -08:00
Shane Smiskol
af774d894e
Deprecate car onroadEvents ( #33687 )
...
* new OnroadEvent struct
* and migrate python
* more forgotten
* re-index new OnroadEvent struct
* fix!
* more missing
* migrate onroadEvents
migrate onroadEvents
* migrate dm events
* hacks to get proc replay to say succeeded
* Revert "hacks to get proc replay to say succeeded"
This reverts commit 0bb8803e5755d606ae9f09da5395d9f50678c7c7.
* update refs
2024-10-03 15:20:58 -07:00
ZwX1616
876f192112
exec DM model with gpu ( #33609 )
...
* half
old-commit-hash: 9f72eca003d4637ca7fe847ebaf925c694fc2e84
* optimed
old-commit-hash: 6e36e2a12e09275ec21d1590012a92b05ca52ff5
* thneed
old-commit-hash: 419a06c09c0c767d828bcd1e118bc575898c343a
* exec
old-commit-hash: 0059c27ec11b076a37f65d604ed135ea6541b1a6
* runner
old-commit-hash: 34232ada94450ce541eaef546197fa219810a891
* runs but
old-commit-hash: 3db37c00b6a64908293b4de8d8b56e80308cd8f2
* it is 01
old-commit-hash: a160d81eb1a7e77abbef959b44f602610f68f665
* np
old-commit-hash: c1caff6ba648cc2c0094c71b2ea074f01c3c2dc8
* module url
old-commit-hash: 6f4902c4d384263a53e2c1d14d93b5ff864b6a5f
* new
old-commit-hash: 779ae79b1bc3df6374fb6663ac8592e107a6e504
* ds fast
* is this work
* corcention
* real timing
* no reg
* interim gather
* 0e4a9c7b
* fa69be01, and halve
* list
* cleanup
* slighly faster
* setprotlt
* expected
* replay ref
* more powar
* reluctantly
* bump tg
* 8
* less
* less
* bump tg
* better than exp
* closer
* cc
* see diff
* commits
* was right
* to 32 cast
* remove dlc file
* support both
* dspExecutionTime -> gpuExecutionTime
* ignore
* time ref
* ref commit
* last
---------
Co-authored-by: Comma Device <device@comma.ai >
2024-09-26 16:40:44 -07:00
ZwX1616
92fff4d486
always on DM: filter green alert at low speeds ( #33644 )
...
* disable visual too under 25
* seperate
* rename
2024-09-24 20:09:07 -07:00
ZwX1616
ffb6e11f96
Revert "exec DM model with gpu" ( #33604 )
...
Revert "exec DM model with gpu (#33397 )"
This reverts commit f79aca8e1e .
2024-09-19 20:55:11 -07:00
ZwX1616
f79aca8e1e
exec DM model with gpu ( #33397 )
...
* half
old-commit-hash: 9f72eca003d4637ca7fe847ebaf925c694fc2e84
* optimed
old-commit-hash: 6e36e2a12e09275ec21d1590012a92b05ca52ff5
* thneed
old-commit-hash: 419a06c09c0c767d828bcd1e118bc575898c343a
* exec
old-commit-hash: 0059c27ec11b076a37f65d604ed135ea6541b1a6
* runner
old-commit-hash: 34232ada94450ce541eaef546197fa219810a891
* runs but
old-commit-hash: 3db37c00b6a64908293b4de8d8b56e80308cd8f2
* it is 01
old-commit-hash: a160d81eb1a7e77abbef959b44f602610f68f665
* np
old-commit-hash: c1caff6ba648cc2c0094c71b2ea074f01c3c2dc8
* module url
old-commit-hash: 6f4902c4d384263a53e2c1d14d93b5ff864b6a5f
* new
old-commit-hash: 779ae79b1bc3df6374fb6663ac8592e107a6e504
* ds fast
* is this work
* corcention
* real timing
* no reg
* interim gather
* 0e4a9c7b
* fa69be01, and halve
* list
* cleanup
* slighly faster
* setprotlt
* expected
* replay ref
* more powar
* reluctantly
* bump tg
* 8
* less
* less
* bump tg
* better than exp
* closer
* cc
* see diff
* commits
* was right
* to 32 cast
* remove dlc file
* support both
---------
Co-authored-by: Comma Device <device@comma.ai >
2024-09-19 17:42:44 -07:00
Adeeb Shihadeh
e04455cbaa
selfdrived: controlsd only does controls ( #33485 )
...
* selfdrived
* process replay
* lil more
* set the valids
* rename that
2024-09-06 17:16:32 -07:00
Adeeb Shihadeh
bd2b09c7b6
Deprecate controlsState state fields ( #33437 )
...
* Deprecate controlsState state fields
* sim works
* update refs
* one more
* these too
* update sim
old-commit-hash: 3924ac587b735d1e735af4cb77faf6ccf053f656
2024-09-03 14:40:23 -07:00
Adeeb Shihadeh
7575c707f1
carEvent -> onroadEvent ( #33432 )
...
old-commit-hash: c481f11833d748a0d12d2ba14003e931d2849135
2024-09-01 11:31:39 -07:00
Adeeb Shihadeh
86b6103657
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
old-commit-hash: c59887c810
2024-06-03 15:48:56 -07:00
ZwX1616
a51790da10
dmonitoringd: set invalid if missing dependence(s) ( #32569 )
...
* no step but still send
* no this
* update diff
old-commit-hash: a16fbdae38
2024-05-29 15:43:55 -07:00
ZwX1616
bf7724d30b
dmonitoringd: simplify main loop ( #32517 )
...
* one call does all
* no need
* update etst
* filename
* dbf5b05ff480145a79b5941e360d0698b70979cd
old-commit-hash: 204219695f
2024-05-23 20:14:28 -07:00
Adeeb Shihadeh
3358745103
ruff: enable UP
...
old-commit-hash: b2e4c64cf8
2024-05-20 17:43:54 -07:00
ZwX1616
1f9bc952bf
dmonitoringd: don't check for buttonEvents or vCruise change ( #32454 )
...
* drop check for carState.buttonEvents
* 100% people not use this
* huge oof
* ref comit
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 8e87655a12
2024-05-17 21:38:03 -07:00
cl0cks4fe
639a634f7c
Unittest to pytest ( #32366 )
...
* add pytest-asyncio
* switch common
* switch selfdrive
* switch system
* switch tools
* small fixes
* fix setUp and valgrind pytest
* switch to setup
* fix random
* switch mock
* switch test_lateral_limits
* revert test_ui
* fix poetry.lock
* add unittest to banned-api
* add inline ignores to remaining unittest imports
* revert test_models
* revert check_can_parser_performance
* one more skip
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: dd9d5d4528
2024-05-17 11:01:44 -07:00
ZwX1616
2cb58bbe35
DM: improve e2e predictions ( #32431 )
...
* good but need to freeze quant weights
* pass ref
* pg
* update model reply
old-commit-hash: b8171a1e9c
2024-05-16 13:55:40 -07:00
ZwX1616
1e7865e4c9
Always-on DM: no audible alert at low speeds / block engagement if alert present ( #32379 )
...
* min speed
* cmments
* no entry?
* comment
old-commit-hash: 273a4f5ca9
2024-05-08 20:05:03 -07:00
ZwX1616
c741dca04c
Toggle to always enable DM ( #32205 )
...
* permanent
* param
* correct behavior
* toggle
* need trans
* ref_commit
* translate for chs/t
* disable on P and R
* read
old-commit-hash: 1d05704d27
2024-04-17 12:56:37 -07:00
Adeeb Shihadeh
da31ce154a
refactor camera transformations ( #31818 )
...
* refactor camera transormations
* update users
* more stuff
* more fix
* swap
* tici
* lil shorter
old-commit-hash: e3589e4b5c
2024-03-10 16:56:50 -07:00