Maxime Desroches
1dcd660815
fix bash + python3 shebangs ( #33287 )
...
fix shebangs
9 months ago
Kacper Rączy
9734015bbb
controlsd: use livePose ( #33283 )
...
* Pose calibrator
* Fix static analysis
* Fix static
* Fix test_latcontrol
* Fix test_latcontrol
* Update services in process replay
* Fix static
* Matmul not mul
* Add assertion
* Move pose calibration to data_sample
* Update ref commit
* Remove llk from cycle alerts
* Deprecated nogps event
* Switch power_draw to lp
* Bring back noGps alert
* Add handling code back
* get_bool
* Bring inputsok back
9 months ago
Adeeb Shihadeh
1b554b488e
tici: new updater build ( #33246 )
...
Co-authored-by: Comma Device <device@comma.ai>
9 months ago
Adeeb Shihadeh
16c36b0d8b
sensord: error -> warning for expected failures
9 months ago
Shane Smiskol
5c1e111d8a
remove unnecessary debugging function from car_helpers.py ( #33199 )
...
* format
* better better
* huh
9 months ago
Adeeb Shihadeh
29b58d4f2f
Revert "Remove `setproctitle` ( #32716 )" ( #33195 )
...
* Revert "Remove `setproctitle` (#32716 )"
This reverts commit 83ac80c6c8
.
* uv lock
* old name
9 months ago
Maxime Desroches
44c7144e1c
fix all codespell issues ( #33194 )
...
* bring back
* remove 2020 dictionary
9 months ago
Dean Lee
8f9b165de8
camerad: encapsulate cl_command_queue in ImgProc ( #33178 )
...
move cl queue to imgproc
9 months ago
Adeeb Shihadeh
9474523add
Revert "uploader.py: simplify clear_locks by using rglob ( #32974 )"
...
This reverts commit cafca4f891
.
9 months ago
Dean Lee
cafca4f891
uploader.py: simplify clear_locks by using rglob ( #32974 )
...
simplify clear_locks
9 months ago
Dean Lee
c40d129f70
camerad: update frame msg related variable types to uint64_t for consistency ( #33113 )
...
Update frame_msg related variable types to uint64_t for type safety
9 months ago
Dean Lee
8ab587d30b
camerad: move `do_exit` to camera_qcom2.cc ( #33086 )
...
move do_exit to camera_qcom2.cc
9 months ago
Dean Lee
2189164d45
camerad: encapsulating event management within the ImgProc Class ( #33119 )
...
Encapsulating Event Management Within the ImgProc Class
9 months ago
Dean Lee
8f3fc699d4
loggerd: Initialize atomic variables to zero ( #33130 )
...
Initialize atomic variables in LoggerdState to zero
9 months ago
Hoang Bui
5b4b7a08fc
CI: fix recent test_rotation skip ( #33167 )
9 months ago
Adeeb Shihadeh
bfa8e0b2ec
disable test_rotation until it's fixed
9 months ago
ZwX1616
3ccc63deec
camerad: use os binning ( #33161 )
...
* all
* right sz
* what is this
* Revert "what is this"
This reverts commit 3ff771926f
.
* ok
* big
* update intrs
* fl
* more specifuc
* fish
* revert
* revert
---------
Co-authored-by: Comma Device <device@comma.ai>
9 months ago
Shane Smiskol
42f2601416
deprecate busTime ( #33146 )
...
* deprecate busTime
* bump
* do car can + more
* forgot some
* bump opendbc
* fix that too
* bump
9 months ago
Dean Lee
2728c95b0d
uploader.py: ensure proper resource management with io.BytesIO ( #33108 )
...
* ensure proper resource management with io.BytesIO
* improve
9 months ago
Adeeb Shihadeh
5ebc65f254
docs: add concepts section
9 months ago
Shane Smiskol
1b3b5ab758
use zstandard library ( #33110 )
...
* use zstandard
* run 10
* bye bye
* this was a little overzealous
* clean up
9 months ago
Shane Smiskol
7dec7c39be
uploader: compress with zstd ( #32736 )
...
* zstd uploader
* fix that
* fix name of function
* comment
* log failed
* fix comma_api_source for routes with both bz2 and zst rlogs
* TODO
* 10-14 achieves almost no benefit on qlogs in a few cases, but takes 2x the time
* these aren't written out
* regen: specify any list of sources
ooh this is pretty nice
* regen and process replay
* damn, actually we don't need all this (cool tho)
Revert "regen: specify any list of sources"
This reverts commit ceb0b4abed
.
* just let it auto resolve
* fix athenad/uploader tests
* zst here too
* TODOs
* yes
* Revert "TODOs"
This reverts commit 8c7da1dbd0
.
* Revert "zst here too"
This reverts commit 23b0023ddf
.
* Revert "just let it auto resolve"
This reverts commit f296d62424
.
* Revert "regen and process replay"
This reverts commit 0768330e96
.
* revert readme
* not in save_log either
* lfg
* Revert "lfg"
This reverts commit 3718559c6c
.
9 months ago
Dean Lee
ccd369ee96
camerad: merge thread functions into one ( #33025 )
...
merge multiple thread functions into one
9 months ago
Dean Lee
313a2826c2
mcid.py: optimize FFT and A-weighting calculations ( #33057 )
...
* Precomputing weighting
* add comments back
* use cache
* spacing
spacing
* clean up
* lower by diff
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
9 months ago
Dean Lee
75f49f84f3
camerad: add CameraConfig struct for initializing CameraState in constructor ( #33065 )
...
* Add CameraConfig struct for initializing CameraState in constructor
* init member variables
9 months ago
Shane Smiskol
add958bb08
athenad: log failed upload items
9 months ago
Dean Lee
0fa6745a67
camerad: refactor camera_open() into separate functions for clarity ( #33056 )
...
split function
9 months ago
Adeeb Shihadeh
cefe00c964
Revert "camerad: add CameraConfig struct for initializing CameraState in constructor ( #33034 )"
...
This reverts commit dc886e195f
.
9 months ago
Dean Lee
dc886e195f
camerad: add CameraConfig struct for initializing CameraState in constructor ( #33034 )
...
* Add CameraConfig struct for initializing CameraState in constructor
* Update system/camerad/cameras/camera_qcom2.h
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
9 months ago
Dean Lee
917ea5699f
cereal: deprecate FrameData.frameType ( #33019 )
...
deprecate FrameData.frameType
9 months ago
Kacper Rączy
c96dbd5a0b
Fix msgq context overrides ( #33014 )
...
* Fix msgq context overrides
* Remove unneccesary changes
* add reset_context helper
* Remove redundant import
9 months ago
Adeeb Shihadeh
560e37cd83
tici: set STM_BOOT0 in reset ( #33015 )
...
* tici: reset panda boot0
* ooops
9 months ago
Shane Smiskol
11db7b683b
hardwared: don't ignore quick ignition cycles ( #32938 )
...
* check on either edge
* clean up
* clean up
* good thing I tested this first :P
10 months ago
Adeeb Shihadeh
f6189568ea
mvp of new docs.comma.ai ( #32926 )
...
* ssh docs
* strict
* need an index
* push to prod
10 months ago
Dean Lee
cec8d5a305
logmessaged: remove the redundant nested print ( #32872 )
...
remove the redundant nested print
10 months ago
Maxime Desroches
6f10b8a209
fix pytest tests ( #32867 )
...
* fix tests
* no dot
10 months ago
Shane Smiskol
dc41848597
deleter: preserve two previous segments on user flag ( #32822 )
...
preserve 2 segs
10 months ago
Mauricio Alvarez Leon
7013eed50c
remove `timezone` from `timed.py` ( #32665 )
...
* use timezone from tilequery mapbox api
* add timezone into cereal
* better clean
* more
* one line
* poetry lock
10 months ago
Adeeb Shihadeh
e491c9d964
remove navigation ( #32773 )
...
* remove navigation
* lil more
* fix cabana
* revert for now
* fix docs
* move that over
* lock
* rm assets
10 months ago
Adeeb Shihadeh
83ac80c6c8
Remove `setproctitle` ( #32716 )
...
* Custom setproctitle (#32667 )
* add custom setproctitle
* add test
* Update poetry.lock
* fix lint
* support only Linux
* test only Linux
* final lint
* Update test_setproctitle.py
* Update setproctitle.py
* convert to threadnames
* delete proctitles
* Check str len and use PR_GET_NAME
* fix poetry.lock
* lint fix
* Update common/threadname.py
---------
Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* revert that for now
* use last 15
* fix
* use name
* update those
* and modeld
* rm
---------
Co-authored-by: schlimeszn <138847413+schlimeszn@users.noreply.github.com>
Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
11 months ago
Mauricio Alvarez Leon
148eaf8fa6
Update to Python 3.12 ( #32548 )
...
* 3.12
* pprofile is broken
* use modified metadrivepy3-12
* 0.3.0 metadrive
* add metadrive/commaai git dependency
* metadrive git set
* pin sounddevice 0.4.6
* datetime.utcnow() deprecation
* poetry lock
* make datetime not aware
* poetry lock
* pin pytools
* google_crc32c wheel
* unpin sounddevice
* clean metadrive
* use python crc
* mypy
* 3.12.4
* allow python3.11
* test
* no pip
* poetry
* better
* better
* merge
* remove
* try
* test
* try this
* snok
* python
* simpler
* setuptools
* lower
* try
* try
* work?
* ubuntu deps
* ubuntu
* try
* remove
* move
* remove this
* names
* Update .github/workflows/tools_tests.yaml
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* python<4
* <3.13
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
11 months ago
Adeeb Shihadeh
5b51f03967
Revert "Custom setproctitle ( #32667 )"
...
This reverts commit 3365ed5eff
.
11 months ago
schlimeszn
3365ed5eff
Custom setproctitle ( #32667 )
...
* add custom setproctitle
* add test
* Update poetry.lock
* fix lint
* support only Linux
* test only Linux
* final lint
* Update test_setproctitle.py
* Update setproctitle.py
* convert to threadnames
* delete proctitles
* Check str len and use PR_GET_NAME
* fix poetry.lock
* lint fix
* Update common/threadname.py
---------
Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
11 months ago
commaci-public
71063d66cd
[bot] Update Python packages and pre-commit hooks ( #32682 )
...
* Update Python packages and pre-commit hooks
* fix linter
* poetry lock
---------
Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
11 months ago
Kacper Rączy
2b1ac1ffa1
webrtc: fix patch in tests ( #32686 )
...
* Fix patch
* Fix it again
11 months ago
Harald Schäfer
e70dc90a45
Restructure msgq ( #32652 )
...
* Update ref
* Compiles
* compiles
* Refactor rest of libs
* import all
* small fiex
* cleanup import
* Need msgq simlink too
* Add to openpilot docker too
* try repo
* Updates
* Fix lint
* fix docs
* Try blank slate
* Revert "Try blank slate"
This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.
* Maybe scons needs this to clear cache
* fix tests
* Disable test for now
* Update SConstruct
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Fix whitespace
* Write skip normal
* small fixes
* add test path
* Revert repo
* linting
* whitespace
* Bump msgq
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
11 months ago
Adeeb Shihadeh
da1cb2276b
tici: improve power save test ( #32674 )
...
* tici: improve power save test
* Update system/hardware/tici/tests/test_hardware.py
11 months ago
Adeeb Shihadeh
5265d13fe0
Replace markdown-it-py with small function in common/ ( #32664 )
...
* Replace markdown-it-py with small function in common/
* simple test
* unused
* lock
* linting fixes
11 months ago
Adeeb Shihadeh
b51472048c
test_encoder: adjust file size tolerance
11 months ago
Shane Smiskol
451e171ad9
remove old cache wrapper ( #32653 )
...
* remove wrapper that is functools.cache
* format
11 months ago