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
YassineYousfi
9d0ab68f3b
dm: settings w device type ( #36650 )
...
* dm: settings w device type
* lint
* fix
2025-11-19 11:14:04 -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
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
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
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
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
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
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
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16
2023-08-24 16:30:54 -07:00
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
old-commit-hash: a9626f95b6
2023-08-20 20:49:55 -07:00
Justin Newberry
3ee0786de3
CI: Pylint to ruff ( #29294 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
* set line length
* pylint exclusions to ruff
* same excludes as old linter
* fix tools QA
* remove unrequired check
* revert linting third_party
* ignore e402
old-commit-hash: 7fdd9fc37c
2023-08-09 13:26:54 -07:00
Justin Newberry
7b677910df
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
old-commit-hash: cf64b27168
2023-08-08 17:13:35 -07:00
ZwX1616
cd3a3235e7
DM: no reset on steer if distracted ( #26567 )
...
* only for attentive fast resets
* oops wheeltouch
* update test
old-commit-hash: 553da4ef30
2022-11-30 13:00:36 -08:00
ZwX1616
cd2a98aa11
fullframe DM model ( #24860 )
...
* Revert "put cereal on master"
This reverts commit 4646c132bae7358079c9b2867725f8382906c1e5.
* Revert "Revert fullframe DM model (#24812 )"
This reverts commit 59e8af4c3101785cead69a9880cc03e0a18081e1.
* revert revert cereal
* clip6
* 0.8 is fair
* Fiction compensation should be based on error
* Update refs
* Add deadzone
* not that
* good mg
* ref
* ref
* ee8f
* minor tweak
* ref
* recompile
* ref
* cereal
* match driverstatus
* new ref
* new ref
* pass token through jenkins credentials
* quote
* fix snpe dead weights
* final ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 1f2f9ea9c9
2022-06-20 16:24:51 -07:00
ZwX1616
c73d4e5fc6
Revert fullframe DM model ( #24812 )
...
* Revert "fullframe DM: flip RHD yaw to use matching thresholds"
This reverts commit ce7daabc8847d18ba46e5d1879f5a6958d04ccc7.
* Revert "fullframe DM model (#24762 )"
This reverts commit 817be81fb19004f4873881f6b29dcdfffbe7e3a8.
* revert cereal
old-commit-hash: c646eeee0a
2022-06-10 16:16:46 -07:00
ZwX1616
02f0f39b52
fullframe DM model ( #24762 )
...
* get log
* simplify two nonsense
* not needed
* libyuv is a joke
* clean up
* try small
* fast but not bad
* working
* clean up driverview
* simplified
* thats mirrored
* smol
* tweak
* ref is screen
* w/ ee
* update camera model
* no if TICI
* start
* update pose thresh
* less cpu more dsp
* new libyuv
* new snpe
* add files
* test
* should be fast
* update out len
* trigger test
* use master snpe
* add cereal
* update cereal
* refactor parsing
* missing ;
* get
* wrong type
* test model
* use driver data
* 10829278-72fe-4283-a118-2cef959ce174/1550
* no pf
* adapt driverview
* ;
* rhd learner
* update libyuv buildi x64
* ad4337ea
* remove blink slack
* test
* no
* use toggle
* b16
* fix for nv12
* 5b02cff5 both
* update test
* update cereal
* update cereal
* update cereal
* v2 packets
* revert libyuv
* no /
* update snpemodel
* ;
* memcpy
* fix test
* use toggle in driverview
* update power
* update replay
* Revert "update replay"
This reverts commit 1d0979ca59dbc89bc5890656e9501e83f0556d50.
* update model ref
* halve cpu
* fake 8bit onnx runner
* same thresh as report
* cereal master
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: d6c07a6b15
2022-06-08 20:13:46 -07:00
Adeeb Shihadeh
bd71c594a2
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
old-commit-hash: 8af20af66d
2022-03-24 23:23:29 -07:00
ZwX1616
e8a8e37185
DM: more precision running on DSP + e2e outputs ( #23900 )
...
* update cereal
* run but not use
* log distraction type
* regression scaling
* clean up naming
* add calib buf
* add to header
* fake model
* no calib model
* adjust threshs
* 018a305f
* fix bn
* tweak1
* tweak2
* 0ff2/666
* tweak3
* t4
* t5
* fix out of bound
* skip when replaying old segments
* update ref
* fix onnxmodel
* get calib
* update model replay refs
* up ref
old-commit-hash: de4031c98e
2022-03-15 19:02:21 -07:00
grekiki
9e4cc1f7ff
Python: Replace more lists with generators ( #23116 )
...
* Replace lists with generators v2
* Replace set with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Replace more set() with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 6951b3271d
2021-12-03 22:57:19 -08:00
arfy slowy
63b3d6024b
fix: spelling typos ( #21861 )
...
* fix: typo spelling grammar
* revert
* Update selfdrive/locationd/calibrationd.py
* more revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: d74def61f8
2021-08-05 12:05:49 -07:00
ZwX1616
0c86b59eff
move DriverStatus params to class ( #21668 )
...
* move to dict
* cleanup
* fix unittest
* use settings class
old-commit-hash: ff573e8c4a
2021-07-23 21:18:28 -07:00
HaraldSchafer
098d939428
Remove DM high std alert ( #21501 )
...
* cleaner
* no face and high stds is the same
* change test
* final clean
* need to deprecate
old-commit-hash: 2aadf8beb2
2021-07-07 17:08:55 -07:00
Adeeb Shihadeh
966945880b
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
old-commit-hash: 000bd226aa
2021-02-03 19:57:30 -08:00
ZwX1616
e961d9b64c
pyTorch DM ( #19760 )
...
* new model files
* no more rot
* no rot no diag switch
* should be correct and cache aware
* 405d7aeb
* parse new outputs
* change uncertain policy accordingly
* 1bdbd9ed
* adjust
* 0.5 is fine
* 3d4f9cab
* no face prob no loss
* clean up
* clean up test
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 8605ba8ab9
2021-01-28 14:02:58 -08:00
Adeeb Shihadeh
f9e7d4865b
cleanup DM tests ( #19540 )
...
* cleanup first
* more cleanup
* little more
* little more
old-commit-hash: 2ab2ae1fed
2020-12-19 15:06:56 -08:00
ZwX1616
b0bb9daf21
continued: Update DM awareness times ( #2527 )
...
* Gets us 6 seconds before making sound (up from 2s; 9s originally)
* Average last two awareness times
* This alert shows up every ~20 seconds, distracting
* Revert "Average last two awareness times"
This reverts commit 2fd7e7a44c708039e1692dcc14ee913ef88bb37e.
* update ref
* update test
* update ref
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: faf8b1fd82
2020-11-11 14:24:32 -08:00
Adeeb Shihadeh
0f2dfbfc52
trim trailing whitespace
...
old-commit-hash: 818bd8a591
2020-11-05 14:11:41 -08:00
ZwX1616
a9d6c98aa4
Reduced wheel touch time ( #2259 )
...
* decrease wheel touch time
* update refs
* fix unittest
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 21d4ac1eeb
2020-10-05 14:39:24 -07:00
ZwX1616
6f3c2fba6e
Cut down unnecessary DM uncertain alerts ( #2157 )
...
* cut down high std alerts
* clean comments
* uncertain curve tune
* update test gt
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: a2adfdb155
2020-09-14 10:43:19 -07:00
ZwX1616
a55099ac2a
EfficientNet driver monitoring ( #1907 )
...
* e96f9be6
* bump cereal
* filter sunglasses
* fix unittest
* update refs
* udpate refs
* update refs
* add tolerance for dmonitoringd
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2cfa0edb4c
2020-07-27 20:22:06 -07:00
ZwX1616
556752a77b
Revert "EfficientNet driver monitoring ( #1866 )"
...
This reverts commit 0bc9d737dde1a50937d421f7a417260732f90480.
Need to fix test
old-commit-hash: c2be31c10b
2020-07-17 18:20:04 -07:00
ZwX1616
7a8bf9d7de
EfficientNet driver monitoring ( #1866 )
...
* e96f9be6
* bump cereal
* filter sunglasses
* fix unittest
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2d0e994674
2020-07-17 15:34:02 -07:00
Adeeb
ea0292d86e
Move driver monitoring out of controls ( #1642 )
...
* move dmonitoring out of controls
* run monitoring unit tests in CI
old-commit-hash: d4858e5ff5
2020-06-09 13:25:15 -07:00