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
Harald Schäfer
a94a56db49
qcom gps: Always pull in thread ( #28951 )
...
* Laikad: cleanup zmq cloudlog warnings
* Handle in cloudlog
* whitespace
* whitespace
* Always pull in thread
* Stop downloading when you have fix
* check if exist
* Atomic move after download
* Increase wait
* merge
old-commit-hash: 601d133bba
2 years ago
Harald Schäfer
fa823fadd2
Cloudlog: cleanup zmq cloudlog warnings ( #28896 )
...
* Laikad: cleanup zmq cloudlog warnings
* Handle in cloudlog
* whitespace
* whitespace
* suppress before reconnecting in thread
old-commit-hash: 8f3037c956
2 years ago
Dean Lee
bd93cd7db3
encoder: remove function `publisher_init`, init PubMaster in constructor ( #28980 )
...
old-commit-hash: 65fe3c8c34
2 years ago
Cameron Clough
c22ad5e0cf
loggerd: fix whitespace and indentation
...
old-commit-hash: f14447ad66
2 years ago
Adeeb Shihadeh
30a6fa35aa
mapsd: rendering tests ( #28981 )
...
* mapsd: rendering tests
* run
* speedup
old-commit-hash: e2b5d1e29a
2 years ago
Dean Lee
ad461bedb2
encoder: remove public function `encoder_init` ( #28971 )
...
old-commit-hash: 06aef9edd3
2 years ago
Dean Lee
d4cd751101
encoderd: get avaiable streams from vipc server ( #28935 )
...
* get avaiable streams
* use std::thread
* assert buf size
* Update system/loggerd/encoderd.cc
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cbed057789
2 years ago
Dean Lee
b59b27e01e
loggerd/encoder: refactor constructors to take EncoderInfo as parameter ( #28921 )
...
* refactor constructors to take EncoderInfo as parameter
* remove last arg codec
* use macro to init function pointers
old-commit-hash: 713d2ec586
2 years ago
Harald Schäfer
8f7729809d
Qcom gps: retry logs setup ( #28952 )
...
old-commit-hash: 966c5f476a
2 years ago
Cameron Clough
182ef3fe52
loggerd: add types to tests and use pathlib ( #28943 )
...
old-commit-hash: 5d45d1fadc
2 years ago
Harald Schäfer
f7771c5538
Qcom gps: retry assistance ( #28723 )
...
* Retry assistance
* rm whitespace
* Only inject when it's there
* will be rmd anyway
* Update test
* Actually disable internet in test
* Fix tests
* cleanup test
* fix tests more
* add late assist test
* use process
* Dont double clear
* ignore
* Small improvements
* Make tests
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c8965b0e60
2 years ago
Harald Schäfer
92c77ef506
Rawgpsd: cleanup init ( #28890 )
...
* Rawgpsd: cleanup init
* back to default
* Fix injection time check
* add quotes
* change to 12 hrs
* Fixes
old-commit-hash: 80eff1b6ce
2 years ago
Dean Lee
434a7c3505
logger: use reference in range based loop ( #28894 )
...
old-commit-hash: f1a1456f27
2 years ago
Harald Schäfer
ef407c9ad9
Qcom rawgps: Timestamp svpolys ( #28738 )
...
* Timestamp svpolys
* leap seconds handled fine
* Fix error
* bump laika
* Update test route
* update ref
old-commit-hash: 47ee0932db
2 years ago
Harald Schäfer
71e5af04c3
Laikad: fix qcom report collection ( #28879 )
...
* Make report aggregation variable
* Add laikad test now it passes
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 221cd0ab09
2 years ago
Harald Schäfer
6a37f17f65
Test rawgpsd: Make sure we get fix ( #28875 )
...
* Add fix test
* Add laika to test
* Add fix test
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 771e410262
2 years ago
Adeeb Shihadeh
0fbdad53ab
rawgpsd: bring back SUPL config ( #28858 )
...
old-commit-hash: f2bbb33a8a
2 years ago
Robbe Derks
8a29a9ca43
Increase expected sensor frequency for LSM6DS3 ( #28863 )
...
expected freq of lsm accel/gyro is 104Hz
old-commit-hash: c0e88991b0
2 years ago
ntegan1
1c5075bfcd
v4l_encoder: enable hevc vui header timing info flag ( #27156 )
...
v4l_encoder: enable hevc vui timing info flag
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 0ddecd36cf
2 years ago
Cameron Clough
6e552fdfa8
update modem script ( #28793 )
...
old-commit-hash: 62ae247417
2 years ago
Adeeb Shihadeh
b968ab8015
tici: let gpu sleep sooner ( #28698 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d4bd0a3213
2 years ago