Dean Lee
db211ce617
cpplint: add filter `whitespace/parens` ( #29565 )
...
old-commit-hash: 5480d32bb5
2 years ago
Adeeb Shihadeh
8960a0912b
sensord: fix LSM magnetometer thermal variation ( #29265 )
...
* do set reset for every measurement cycle
* use one sensorvec
* convert from continuous to manual mode
* separate the set/reset and TM_M
* make magnetometer readings manual, set appropriate sleep
* add more sleep and check validity of values
* add magnetometer to a separate thread
* refactor
* bugfix
* each sensor in a new thread, handle generically
* bugfix
* rm global
* update cpu
* update test
* update test
* revert cereal change
* split out temp sensors
* little more
* fix
* fix
* bump cereal
* linter fixes
---------
Co-authored-by: nuwandavek <vivekaithal44@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 239d6a24be
2 years ago
Adeeb Shihadeh
44f1d480f9
sensord: run as many sensors as possible ( #29564 )
...
old-commit-hash: d3fb75a972
2 years ago
Adeeb Shihadeh
0ae2523a16
sensord: lower temperature sensor freq to 2Hz ( #29563 )
...
old-commit-hash: 42769345d5
2 years ago
Adeeb Shihadeh
6b2ffe9490
bump cereal ( #29561 )
...
old-commit-hash: e726505918
2 years ago
Dean Lee
97e9d55588
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d99521e75
2 years ago
Adeeb Shihadeh
5c213d7a38
sensord: setup per-sensor threads ( #29558 )
...
* sensord: setup per-sensor threads
* revert cereal
* more cleanup
* bump cereal
* update test
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6a66b75556
2 years ago
Dean Lee
004a097c95
cpplint: add `readability/braces` filter ( #29554 )
...
old-commit-hash: 363740a497
2 years ago
Adeeb Shihadeh
701cd6f6fe
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
old-commit-hash: 952d720b6e
2 years ago
Adeeb Shihadeh
d46981cac5
tici: add wait_for_power helper ( #29507 )
...
* tici: add wait_for_power helper
* deque
* cleanup
---------
Co-authored-by: Bruce Wayne <batman@z840-provisioning2.internal>
old-commit-hash: 985af1ce3c
2 years ago
Adeeb Shihadeh
29977caa45
sensord: rm light sensor ( #29503 )
...
old-commit-hash: f5071411cb
2 years ago
Dean Lee
97631ec362
common: C++ RateKeeper ( #29374 )
...
* c++ RateKeeper
* add to files_common
* use util::random_int
* improve monotor_time
* remove ~ratekeeper
old-commit-hash: 3eef63af9b
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
Cameron Clough
8b0902e324
agnos: alt system image
...
old-commit-hash: 3861fca940
2 years ago
Cameron Clough
868643d111
agnos manifest: add alt system image ( #29468 )
...
old-commit-hash: 3972c85e97
2 years ago
Adeeb Shihadeh
1ca3343d0c
add small ui for jenkins runners ( #29382 )
...
old-commit-hash: 09ffce8073
2 years ago
Adeeb Shihadeh
f50fedb647
Fixes for PYTHONWARNINGS=error ( #29381 )
...
old-commit-hash: db287496d8
2 years ago
Dean Lee
cfef62bbd6
encoderd: fix indentation ( #29356 )
...
fix indentation
old-commit-hash: 51cdf155d9
2 years ago
Justin Newberry
f33b4de80b
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
old-commit-hash: e4ead4f183
2 years ago
Vivek Aithal
8d11558056
[commabody] setup and run live stream encoders ( #29087 )
...
* op changes needed for body
* remove logmessaged callback
* add newlines
* add stream arg
* add stream_encoder to config
* supersets, avoid two encoderd
* fix recursive exit error
* fix loggerd crash
* add stream_encoderd cpu usage to test
* Update system/loggerd/loggerd.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* resolve comments
* stream_encoderd onroad to false
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 81322a4805
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
715f028a0e
Ruff: enable flake8-builtins ( #29315 )
...
* enable flake8-builtins
* replace any with contains
* fix typo in pack
* fix type
* format is from the parent module, has to be enabled
* item_id
* fix item_id
* disable for id since that's what the remote server returns
old-commit-hash: 8793cbff40
2 years ago
Justin Newberry
a14f162bc7
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
old-commit-hash: 4a9afd7554
2 years ago
Justin Newberry
7d6d3dc9ea
Ruff: flake8 pie (misc lints) ( #29318 )
...
flake8 pie
old-commit-hash: af3ed37c5c
2 years ago
Adeeb Shihadeh
b7f6b6dc95
pytest unit test running ( #29261 )
...
* setup config
* collect passes
* pytest system/ works
old-commit-hash: 670fa9af5f
2 years ago
Adeeb Shihadeh
8e2a03b46d
rm some old tests
...
old-commit-hash: 44c76257a1
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
Justin Newberry
ff96892511
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b
2 years ago
Justin Newberry
99006365a3
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
old-commit-hash: cb31a53d8a
2 years ago
Dean Lee
f39cb90a09
camerad: auto free the buffer when it goes out of scope ( #28807 )
...
old-commit-hash: 8076107b4f
2 years ago
Adeeb Shihadeh
4e047635d7
tici: reset panda state in amp test setup ( #29237 )
...
old-commit-hash: e3ca9f3e85
2 years ago
Adeeb Shihadeh
e83ade5c18
rawgpsd: accept alt assistance file ( #29202 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 42e106dd47
2 years ago
Adeeb Shihadeh
e33973cdd4
pre-commit: autoupdate hooks ( #29198 )
...
* Update pre-commit hook versions
* fix
* bump submodules
* one more
---------
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: 39ce23420c
2 years ago
Adeeb Shihadeh
8519efbc9b
rawgpsd: better download proc cleanup ( #29199 )
...
* rawgpsd: better download proc cleanup
* more
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f310d501f4
2 years ago
Dean Lee
b80325aa04
swaglog: enable type-checked against format string ( #29096 )
...
* check&fix fmt
* bump rednose
* correct format string
* bump rednose
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 940954c13e
2 years ago
Maxime Desroches
8ceef4903b
hardware: move gpio_export ( #29154 )
...
old-commit-hash: eec99436c1
2 years ago
Adeeb Shihadeh
b54936dbfc
tici: add siren gpio
...
old-commit-hash: 67ef6dd844
2 years ago
Adeeb Shihadeh
f5dc651c0a
tici: better cleanup in amp test ( #29146 )
...
old-commit-hash: ed07c3ceda
2 years ago
Mitchell Goff
49b07db500
Added python VisionBuf class ( #29075 )
...
* Added python VisionBuf class
* fixed property names
* Bump cereal
old-commit-hash: f0ae0c34cd
2 years ago
Adeeb Shihadeh
709125ed04
rawgpsd: retry injecting assistance data ( #29115 )
...
* rawgpsd: retry injecting assistance data
* sleep a bit
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 14001be605
2 years ago
Adeeb Shihadeh
8932524fe8
rawgpsd: fix double setup ( #29108 )
...
* rawgpsd: fix double setup
* speedup test
* update that one
* minimal diff
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9113816e1d
2 years ago
Adeeb Shihadeh
a51824c339
rawgpsd: speedup tests ( #29110 )
...
* rawgpsd: speedup tests
* fix that one
* little more
* prevent subtle bugs
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5fb2f7072b
2 years ago
Dean Lee
c4aeaba7c6
loggerd: check `userFlag` outside the while loop ( #29095 )
...
* improve check userFlag
* rename to ServiceState
* setxattr once
old-commit-hash: c0c00e1997
2 years ago
Adeeb Shihadeh
3dfd770fb0
tici: speedup power save setting ( #29100 )
...
* speedup
* update type
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d92c9aef23
2 years ago
Adeeb Shihadeh
b0c3778aae
agnos 8 ( #28843 )
...
* agnos 8
* update to python 3.11.4 (#27452 )
* rebase
* optional
* lower cython
* TEMP don't pull cl to use python3.11
* Revert "lower cython"
This reverts commit c5132f8a27
.
* fix cython
* remove tensorrt
* carla + opencv
* macos
* update timm and smp
* pynvc
* https
* downgrade numpy
* pin scipy
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
* revert that
* fix linter
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 1945c356c2
2 years ago
Cameron Clough
b120aec2f5
deleter: preserve flagged segments ( #28814 )
...
old-commit-hash: 98a30f10f4
2 years ago
Dean Lee
05b2a0b884
common/swaglog: remove trailing semicolon from macros ( #29042 )
...
old-commit-hash: 269ceca27a
2 years ago
Harald Schäfer
fccb8f0a6d
Rawgpsd: retry even more on setup ( #29045 )
...
old-commit-hash: 9054590c95
2 years ago
Vivek Aithal
cb60085777
[Qcom GPS] BearingAccuracyDeg should not be 0 when inaccurate ( #28989 )
...
change bearingAccuracyDeg from 0 to 180 deg, when invalid
old-commit-hash: f7471f9108
2 years ago