Dean Lee
757cb2eb6c
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>
old-commit-hash: 313a2826c2
9 months ago
Dean Lee
5b5e3ef053
camerad: add CameraConfig struct for initializing CameraState in constructor ( #33065 )
...
* Add CameraConfig struct for initializing CameraState in constructor
* init member variables
old-commit-hash: 75f49f84f3
9 months ago
Shane Smiskol
5fdbd73ba3
athenad: log failed upload items
...
old-commit-hash: add958bb08
9 months ago
Dean Lee
4d6d229820
camerad: refactor camera_open() into separate functions for clarity ( #33056 )
...
split function
old-commit-hash: 0fa6745a67
9 months ago
Adeeb Shihadeh
5025140f37
Revert "camerad: add CameraConfig struct for initializing CameraState in constructor ( #33034 )"
...
This reverts commit 8ef650da47eec8b64e2aedcba5114ca1a2428a89.
old-commit-hash: cefe00c964
9 months ago
Dean Lee
3f327ef4d3
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>
old-commit-hash: dc886e195f
9 months ago
Dean Lee
cc3f9090bf
cereal: deprecate FrameData.frameType ( #33019 )
...
deprecate FrameData.frameType
old-commit-hash: 917ea5699f
10 months ago
Kacper Rączy
4efe8d8118
Fix msgq context overrides ( #33014 )
...
* Fix msgq context overrides
* Remove unneccesary changes
* add reset_context helper
* Remove redundant import
old-commit-hash: c96dbd5a0b
10 months ago
Adeeb Shihadeh
acdbe2440f
tici: set STM_BOOT0 in reset ( #33015 )
...
* tici: reset panda boot0
* ooops
old-commit-hash: 560e37cd83
10 months ago
Shane Smiskol
1d480761bd
hardwared: don't ignore quick ignition cycles ( #32938 )
...
* check on either edge
* clean up
* clean up
* good thing I tested this first :P
old-commit-hash: 11db7b683b
10 months ago
Adeeb Shihadeh
1490a714a0
mvp of new docs.comma.ai ( #32926 )
...
* ssh docs
* strict
* need an index
* push to prod
old-commit-hash: f6189568ea
10 months ago
Dean Lee
9f6dae8f44
logmessaged: remove the redundant nested print ( #32872 )
...
remove the redundant nested print
old-commit-hash: cec8d5a305
10 months ago
Maxime Desroches
8adfc992e3
fix pytest tests ( #32867 )
...
* fix tests
* no dot
old-commit-hash: 6f10b8a209
10 months ago
Shane Smiskol
82ebea3d12
deleter: preserve two previous segments on user flag ( #32822 )
...
preserve 2 segs
old-commit-hash: dc41848597
10 months ago
Mauricio Alvarez Leon
8d8c2a29c9
remove `timezone` from `timed.py` ( #32665 )
...
* use timezone from tilequery mapbox api
* add timezone into cereal
* better clean
* more
* one line
* poetry lock
old-commit-hash: 7013eed50c
11 months ago
Adeeb Shihadeh
3b8ed67aa3
remove navigation ( #32773 )
...
* remove navigation
* lil more
* fix cabana
* revert for now
* fix docs
* move that over
* lock
* rm assets
old-commit-hash: e491c9d964
11 months ago
Adeeb Shihadeh
9cfdd6200d
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>
old-commit-hash: 83ac80c6c8
11 months ago
Mauricio Alvarez Leon
008008b03a
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>
old-commit-hash: 148eaf8fa6
11 months ago
Adeeb Shihadeh
e920e57530
Revert "Custom setproctitle ( #32667 )"
...
This reverts commit 1f45e163559baa2a6127d5a5e8deb7067e32f813.
old-commit-hash: 5b51f03967
11 months ago
schlimeszn
afea57ae2a
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>
old-commit-hash: 3365ed5eff
11 months ago
commaci-public
0ee93c6a90
[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>
old-commit-hash: 71063d66cd
11 months ago
Kacper Rączy
7acd2e6159
webrtc: fix patch in tests ( #32686 )
...
* Fix patch
* Fix it again
old-commit-hash: 2b1ac1ffa1
11 months ago
Harald Schäfer
05ed3d8c15
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>
old-commit-hash: e70dc90a45
11 months ago
Adeeb Shihadeh
a4745aa158
tici: improve power save test ( #32674 )
...
* tici: improve power save test
* Update system/hardware/tici/tests/test_hardware.py
old-commit-hash: da1cb2276b
11 months ago
Adeeb Shihadeh
92ad30cbd6
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
old-commit-hash: 5265d13fe0
11 months ago
Adeeb Shihadeh
ad42b61427
test_encoder: adjust file size tolerance
...
old-commit-hash: b51472048c
11 months ago
Shane Smiskol
2d4f0e2af8
remove old cache wrapper ( #32653 )
...
* remove wrapper that is functools.cache
* format
old-commit-hash: 451e171ad9
11 months ago
Shane Smiskol
2532cab5d1
update TOTAL_SCONS_NODES
...
from 8c15c5b0d6
old-commit-hash: 280a284b76
11 months ago
Harald Schäfer
f870a968e9
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
old-commit-hash: e71ec4e8d7
11 months ago
Adeeb Shihadeh
30c41788dc
thermald is hardwared ( #32637 )
...
* thermald is deviced
* hardwared
* rename
old-commit-hash: 51fdf23304
11 months ago
Adeeb Shihadeh
389daf4018
pandad: move to core 3 ( #32402 )
...
* move to core 3
* core is fully offlined now
* move to init
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7b09285817
11 months ago
Adeeb Shihadeh
2c6829ed67
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
old-commit-hash: 34e329649d
11 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
Adeeb Shihadeh
cc4f53e6c6
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
old-commit-hash: accdade4cf
11 months ago
Adeeb Shihadeh
4356b74cca
updated: finish system/ move ( #32535 )
...
* updated: finish system/ move
* add those back
* skip that
* skip whole file
* one more time
old-commit-hash: 73b02f2cda
11 months ago
Adeeb Shihadeh
14e7c7d260
thermald: move to system/ ( #32494 )
...
* thermald: move to system/
* fix path
* revert
old-commit-hash: b2cf9b35f6
12 months ago
Adeeb Shihadeh
7a3e454d27
move sentry/stats to system/ ( #32490 )
...
* move sentry/stats to system/
* fix
old-commit-hash: da6fd75125
12 months ago
Adeeb Shihadeh
70d14c99e1
ruff: enable TRY
...
old-commit-hash: 0e3df5ae4d
12 months ago
Adeeb Shihadeh
3358745103
ruff: enable UP
...
old-commit-hash: b2e4c64cf8
12 months ago
Adeeb Shihadeh
18970afb0e
athena: move to system/ ( #32488 )
...
* athena: move to system/
* slash
old-commit-hash: 3279dbeff7
12 months ago
Dean Lee
46183bc11b
encoderd: publish i-frame as thumbnail ( #32202 )
...
* pusblish i-frame as thumbnail
* generic
* disable for now
* fix
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b742776bff
12 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
12 months ago
Adeeb Shihadeh
583fa3bfbf
agnos 10.1 ( #32373 )
...
old-commit-hash: 7ff66986c1
12 months ago
Adeeb Shihadeh
de5f273a6b
Revert "agnos 10.1 ( #32348 )"
...
This reverts commit 38c4557a88f3c7e43027f2f83eeba2375a0427dc.
old-commit-hash: 71832d651a
12 months ago
Adeeb Shihadeh
7b634ee1b3
agnos 10.1 ( #32348 )
...
old-commit-hash: d0e5f42b68
12 months ago
Adeeb Shihadeh
df1314fbf7
agnos 10 ( #32320 )
...
old-commit-hash: b98ea81bdb
1 year ago
Andrei Radulescu
1cbb26bcc7
camerad: cast ci->image_sensor to unsigned short ( #32317 )
...
fixes 24.04 build
old-commit-hash: 6a52507e3a
1 year ago
Dean Lee
2772be8303
camerad: Localizing the variable "ret" ( #32294 )
...
Localizing the variable "ret"
old-commit-hash: edb683a62b
1 year ago
ZwX1616
616b048906
camerad: frame sync OS ( #32155 )
...
auto
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ee01be71e1
1 year ago
ZwX1616
cc3550df2a
camerad: OS HDR ( #32112 )
...
* it's something
* backup
* 16:10
* cleanup
* this is fine
* close
* remove some junk
* no heck
* disos
* real 10
* for some reason this is flipped
* 20hz
* no return
* ae
* tear
* need curve laster
* correct real gains
* fix time
* cleanup
* why the scam
* disable for now
* 0.7
* hdr
* that doesnt work
* what
* hugeoof
* clean up
* cleanup
* fix regs
* welp cant
* is this corrent
* it is sq
* remove
* back
* stg10bit
* back2ten
* Revert "remove"
This reverts commit 18712ab7e1
.
* 20hz and swb
* correct height
* 10bit
* ui hack for now
* slight
* perfect
* blk64
* ccm
* fix page faults
* template
* set 4x
* is this fine
* try
* this seems to work
* Revert "this seems to work"
This reverts commit d3c9023d3f
.
* needs to be static
* close
* 64 is optimal
* 2
* take
* not 1
* offset
* whats going on
* i have no idea
* less resistence
* box defs
* no
* reduce blur artifacts
* simplify
* fix
* fake short is too much for bright
* can be subzero
* should not use lsvc
* no wasted bit
* cont no slow
* no less than 10bit
* it is based
* wrong
* right
* quart
* shift
* raise noise floor
* 4.5/4.7
* same ballpark
* int is fine
* shane owes me m4a4
* Revert "shane owes me m4a4"
This reverts commit b4283fee18
.
* back
* Revert "4.5/4.7"
This reverts commit e38f96e90c
.
* default
* oof
* clean up
* simpilfy
* from sensorinfo
* no div
* better name
* not the wrong one
* not anymore relevant
* too
* not call it debayer
* cl headers
* arg is 2nd
* gone is is_bggr
* define
* no is hdr
* rgb_tmp
* p1
* clean up
* 4
* cant for
* fix somewhre else
* const
* ap
* rects
* just set staruc
* nnew tmp
* hmm
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 03d1c48017
1 year ago