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
11 months ago
ZwX1616
bf7724d30b
dmonitoringd: simplify main loop ( #32517 )
...
* one call does all
* no need
* update etst
* filename
* dbf5b05ff480145a79b5941e360d0698b70979cd
old-commit-hash: 204219695f
11 months ago
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
11 months ago
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
12 months ago
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
1 year ago
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16
2 years ago
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 db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
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
2 years ago
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
2 years ago
ZwX1616
cd3a3235e7
DM: no reset on steer if distracted ( #26567 )
...
* only for attentive fast resets
* oops wheeltouch
* update test
old-commit-hash: 553da4ef30
2 years ago
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
3 years ago
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
3 years ago
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 1d0979ca59
.
* 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
3 years ago
Adeeb Shihadeh
bd71c594a2
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
old-commit-hash: 8af20af66d
3 years ago
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
3 years ago
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
3 years ago
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
4 years ago
ZwX1616
0c86b59eff
move DriverStatus params to class ( #21668 )
...
* move to dict
* cleanup
* fix unittest
* use settings class
old-commit-hash: ff573e8c4a
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
Adeeb Shihadeh
f9e7d4865b
cleanup DM tests ( #19540 )
...
* cleanup first
* more cleanup
* little more
* little more
old-commit-hash: 2ab2ae1fed
4 years ago
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 2fd7e7a44c
.
* update ref
* update test
* update ref
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: faf8b1fd82
5 years ago
Adeeb Shihadeh
0f2dfbfc52
trim trailing whitespace
...
old-commit-hash: 818bd8a591
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
ZwX1616
556752a77b
Revert "EfficientNet driver monitoring ( #1866 )"
...
This reverts commit 0bc9d737dde1a50937d421f7a417260732f90480.
Need to fix test
old-commit-hash: c2be31c10b
5 years ago
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
5 years ago
Adeeb
ea0292d86e
Move driver monitoring out of controls ( #1642 )
...
* move dmonitoring out of controls
* run monitoring unit tests in CI
old-commit-hash: d4858e5ff5
5 years ago
Adeeb
9027018368
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a
5 years ago
Adeeb Shihadeh
37a67a2a14
enable flake8 E502: backslash is redundant between brackets
...
old-commit-hash: 6466ec982a
5 years ago
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
5 years ago
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
5 years ago
Adeeb
7965569766
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
old-commit-hash: 6051061ff8
5 years ago
Adeeb
5e857427ba
Enable more flake8 checks ( #1602 )
...
* enable some more flake8 checks
* some more quick ones
* bump opendbc
* e401
* e711 e712
* e115 e116
* e222
* e301
* remove that
* e129
* e701 e702
* e125 e131
* e227
* e306
* e262
* W503
* e713
* e704
* e731
* bump opendbc
* fix some e722
old-commit-hash: d9bf9f0a40
5 years ago
Adeeb
48340cc8cb
Alerts + Events refactor ( #1466 )
...
old-commit-hash: d976233f69
5 years ago
Willem Melching
21d7ad1e51
remove yet another reverse geocoder
...
old-commit-hash: 70ae01e3cd
5 years ago
ZwX1616
2ad685b194
dmonitoringd ( #1016 )
...
old-commit-hash: 6322a275d6
5 years ago
ZwX1616
6253480617
Update test_monitoring.py
...
old-commit-hash: 12f72fb8e2
5 years ago
ZwX1616
d1776fd444
Update test_monitoring.py
...
old-commit-hash: 2f19eed023
5 years ago
George Hotz
079eee7294
selfdrive/controls
...
old-commit-hash: b0260dadba
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28b
6 years ago
Willem Melching
4ba65fee99
Driver monitoring fix when face is visible briefly during nighttime ( #806 )
...
old-commit-hash: b0563a5968
6 years ago
Vehicle Researcher
dfe603c178
openpilot v0.6.4 release
...
old-commit-hash: 61229779e4
6 years ago