Adeeb Shihadeh
d98a554b17
tici: set core affinity for all realtime processes ( #34574 )
2 months ago
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>
3 months ago
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 0bb8803e57
.
* update refs
7 months ago
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>
7 months ago
ZwX1616
92fff4d486
always on DM: filter green alert at low speeds ( #33644 )
...
* disable visual too under 25
* seperate
* rename
7 months ago
ZwX1616
ffb6e11f96
Revert "exec DM model with gpu" ( #33604 )
...
Revert "exec DM model with gpu (#33397 )"
This reverts commit f79aca8e1e
.
7 months ago
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>
7 months ago
Adeeb Shihadeh
e04455cbaa
selfdrived: controlsd only does controls ( #33485 )
...
* selfdrived
* process replay
* lil more
* set the valids
* rename that
8 months ago
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: 3924ac587b
8 months ago
Adeeb Shihadeh
7575c707f1
carEvent -> onroadEvent ( #33432 )
...
old-commit-hash: c481f11833
8 months ago
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
a51790da10
dmonitoringd: set invalid if missing dependence(s) ( #32569 )
...
* no step but still send
* no this
* update diff
old-commit-hash: a16fbdae38
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
Adeeb Shihadeh
3358745103
ruff: enable UP
...
old-commit-hash: b2e4c64cf8
11 months ago
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
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
2cb58bbe35
DM: improve e2e predictions ( #32431 )
...
* good but need to freeze quant weights
* pass ref
* pg
* update model reply
old-commit-hash: b8171a1e9c
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
Adeeb Shihadeh
da31ce154a
refactor camera transformations ( #31818 )
...
* refactor camera transormations
* update users
* more stuff
* more fix
* swap
* tici
* lil shorter
old-commit-hash: e3589e4b5c
1 year ago
Adeeb Shihadeh
adcac1f207
SubMaster: improve service aliveness checks ( #31391 )
...
* bump cereal
* fix
* fixes
* single poll
* bump
* bump
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 279d2c3b23
1 year ago
Adeeb Shihadeh
b4c03185d4
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
old-commit-hash: daceb171bd
1 year ago
ZwX1616
8cdd09be5a
DM: Quarter Pounder Deluxe model ( #31170 )
...
* 1
* pg
This reverts commit 71409ec84a3e04e5e7ec960271d4e278a2472462.
* ee new
* 60ab
* update replay
old-commit-hash: ba7f840a06
1 year ago
Dean Lee
1d7d7b89b2
common/params: support nonblocking write ( #29808 )
...
* Safe and efficient asynchronous writing parameters
* call putNonBlocking in locationd
* remove space
* ->AsyncWriter
* remove semicolon
* use member function
* asyc write multiple times
* add test case for AsyncWriter
* merge master
* add missing include
* public
* cleanup
* create once
* cleanup
* update that
* explicit waiting
* improve test case
* pass prefix to asywriter
* move to params
* assert(queue.empty())
* add comment
* add todo
* test_power_monitoring: remove patch
* rm laikad.py
* fix import
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3c4c4d1f7f
1 year ago
Adeeb Shihadeh
1cc4f1a634
new msgs default to invalid ( #30587 )
...
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
old-commit-hash: a1d36961cf
1 year ago
Adeeb Shihadeh
93b1cf7d69
bump cereal ( #30582 )
...
* bump cereal
* fix dmonitoringd
* update refs
* update refs
old-commit-hash: c028688a65
1 year ago
Adeeb Shihadeh
4b78e52e34
cleanup old sm pm args ( #30241 )
...
* cleanup sm pm
* fix controlsd
* fix
old-commit-hash: b68cfbb332
2 years ago
Adeeb Shihadeh
0010c9a986
Revert "params: safe and efficient async writing parameters ( #25912 )"
...
This reverts commit 780669c33fea1b2a14a0bd6e2eac82c9b8893aa5.
old-commit-hash: ec479322d3
2 years ago
Dean Lee
08e70aecb2
params: safe and efficient async writing parameters ( #25912 )
...
* Safe and efficient asynchronous writing parameters
* call putNonBlocking in locationd
* remove space
* ->AsyncWriter
* remove semicolon
* use member function
* asyc write multiple times
* add test case for AsyncWriter
* merge master
* add missing include
* public
* cleanup
* create once
* cleanup
* update that
* explicit waiting
* improve test case
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0d797f4e8b
2 years 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
d487c0501f
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
old-commit-hash: 62c1e65924
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
Harald Schäfer
5ddceb553d
Calibrationd: make recalibrating alert ( #28149 )
...
* Initial
* fixes
* not an int anymore
* elif
* revert ref
* update ref
* fix alert text
* regen refs
* update ref
* add recalibration unit test
* set into recalibration state
* fix words
* recalib
* text
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 598343aad1
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
339fe5d8d4
DM: lower bound ee calib ( #26370 )
...
keep in linear region
old-commit-hash: 5768af09c0
3 years ago
ZwX1616
cfa80ee10c
DM: compensate for non-calibrated pitch spread ( #26348 )
...
old-commit-hash: 2837e73a70
3 years ago
ZwX1616
e4fc61ff48
DM: finetune e2e policy but keep alert rate ( #26168 )
...
old-commit-hash: 1800592f5a
3 years ago
ZwX1616
426286f24f
DM: add use of e2e preds ( #26078 )
...
* try ml
* de56
* j914ef75a
* jd1124586
* jd1124586
* d112
* oops
* set
* update ref
* use offset
* bump DM power usage
* new ref
old-commit-hash: d522492ba0
3 years ago
ZwX1616
6e5393367d
Remove RHD toggle: determine by driver side instead ( #24802 )
...
* driverview
* auto choose
* useless
* remove
* modeld not use toggle
* remove from params
* should have commissue anyway
* delete icon file
* deal with init more elegantly and prohibit switching when engaged
* nonblock save when not unstable
* filter very low speeds
* a few more secs dont harm
* draw icon
* match
* radius
* use const
* ref commit
* new transs
* put_bool_nonblocking
* 5k route tune
* ref comm
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 22408781f7
3 years ago
ZwX1616
7179696f6c
DM: track RHD predictions ( #24947 )
...
* driverview
* auto choose
* useless
* remove
* modeld not use toggle
* remove from params
* Revert "remove from params"
This reverts commit a08df0b492
.
* Revert "modeld not use toggle"
This reverts commit 2730bf8f57
.
* Revert "remove"
This reverts commit 21f7cfaaee
.
* Revert "driverview"
This reverts commit 222d129711
.
* semi revert
old-commit-hash: a0c114b8b0
3 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
d6e78ec5b0
fullframe DM: flip RHD yaw to use matching thresholds
...
old-commit-hash: 2ac6931003
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
Willem Melching
753045c73d
less TICI when not needed ( #24698 )
...
* less TICI when not needed
* fix process replay
* move reading voltages into hw abstraction layer
* Update selfdrive/hardware/tici/hardware.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/hw.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/base.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rename init function
* Update selfdrive/athena/athenad.py
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
* Update selfdrive/boardd/boardd.cc
* Apply suggestions from code review
* Update selfdrive/thermald/thermald.py
* update ref
* fix alert width if all cameras are bad
* add ecam to test_loggerd
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
old-commit-hash: f49a9c9fd2
3 years ago
ZwX1616
eeeec4c2f4
DM: reduce model error on dsp by another 3.5x ( #24159 )
...
* a8236e30
* match
* update model ref
old-commit-hash: 720adbc49f
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