Dean Lee
8bf78399e2
sensor2_i2c.h: add `#pragma once` ( #30636 )
1 year ago
Greg Hogan
db35dcd0b5
replace common.file_helpers.mkdirs_exists_ok with python os.makedirs funtion ( #30618 )
...
replace common.file_helpers.mkdirs_exists_ok with python os.makedirs function
1 year ago
Adeeb Shihadeh
e34ee43eea
camerad cleanup ( #30573 )
...
* misc cleanup
* rm those
* rm utils
* fix build
* rm pool
* little more
* goodbye imgproc
1 year ago
Dean Lee
335237aea0
modeld: remove modeldata.h ( #30423 )
...
* remove modeldata.h
* remove TRAJECTORY_SIZE
1 year ago
Adeeb Shihadeh
72cc2e34cb
camerad: reduce to 1s of buffers
1 year ago
Justin Newberry
aec7cea30d
Pytest: tici mark for skipping on-device tests ( #30412 )
...
* mark tici
* not those ones
* missed that one
* add those
* add pypoetry
* oops
1 year ago
Shane Smiskol
7f073483bb
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
2 years ago
Adeeb Shihadeh
18fbc1c29a
Update test_camerad.py
2 years ago
Adeeb Shihadeh
4917e22615
Minimal build ( #29600 )
...
* add build flag for minimum build
* add minimal build
* update
* fix pj
* bump opendbc
* update subaru
2 years ago
Dean Lee
7bfd3dac81
cpplint: add filter `whitespace/comma` ( #29595 )
2 years ago
Dean Lee
9c7bf50703
cpplint: add filter `whitespace/tab` ( #29588 )
2 years ago
Dean Lee
21da5a216f
cpplint: add filter `build/include_subdir` ( #29585 )
2 years ago
Dean Lee
f203648de0
cpplint: add filter `whitespace/semicolon` ( #29568 )
2 years ago
Dean Lee
2d99521e75
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Dean Lee
363740a497
cpplint: add `readability/braces` filter ( #29554 )
2 years ago
Adeeb Shihadeh
952d720b6e
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
2 years ago
Adeeb Shihadeh
a9626f95b6
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
2 years ago
Justin Newberry
62c1e65924
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
2 years ago
Adeeb Shihadeh
670fa9af5f
pytest unit test running ( #29261 )
...
* setup config
* collect passes
* pytest system/ works
2 years ago
Adeeb Shihadeh
44c76257a1
rm some old tests
2 years ago
Dean Lee
8076107b4f
camerad: auto free the buffer when it goes out of scope ( #28807 )
2 years ago
Mitchell Goff
f0ae0c34cd
Added python VisionBuf class ( #29075 )
...
* Added python VisionBuf class
* fixed property names
* Bump cereal
2 years ago
Dean Lee
269ceca27a
common/swaglog: remove trailing semicolon from macros ( #29042 )
2 years ago
Dean Lee
9784f61f23
camerad: remove unused frame_length from `struct FrameMetadata` ( #28693 )
...
* remove unused frame_length
* bump cereal
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Mitchell Goff
ae5bfcf248
Remove get_model_yuv_transform function ( #28568 )
...
* remove yuv_transform from update_calibration
* Remove get_model_yuv_transform entirely
2 years ago
ZwX1616
78ba67e211
camerad: write static AE settings only once ( #28134 )
...
* this is free
* illusion of choice
2 years ago
ZwX1616
4b1f77d54a
OX03C10: improve tone mapping ( #27754 )
...
Co-authored-by: Comma Dev1ce & Y. Yousfi <device@comma.ai>
2 years ago
ZwX1616
25a7f87b42
camerad: reduce daytime HDR blur ( #27644 )
...
* 60hz
* be dynamic
* cast
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Dean Lee
a86730a2c6
camerad: remove deprecated focus parameters from FrameMetadata ( #27638 )
2 years ago
Robbe Derks
d26d8b3ba9
Improve OX frame timing jitter ( #27582 )
...
* frame timing script
* enable vsync output and improve fsin tracking
* increase measurement time
* fix python linting
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
ZwX1616
e2e780e7c6
ci: intra-camera timing check ( #27069 )
...
* test frame time
* 1 is still much tighter than 5
2 years ago
Adeeb Shihadeh
ef42652368
fix typo AR0321 -> AR0231 ( #26993 )
2 years ago
ZwX1616
bc8e2032f7
camerad: reduce ox LFM noise ( #26949 )
...
* wip
* make separate score func
* n4ot g
* clean up
* remove
* simplify
* b2b
* more than 0
* this is fine
* led
* balance costs
* clean up
* no if tici
* box view
* new baselines
* Revert "new baselines"
This reverts commit f7a5d059ed
.
* Revert "box view"
This reverts commit a57924be36
.
* maximize dcg
Co-authored-by: Comma Dev1ce <device@comma.ai>
2 years ago
ZwX1616
028527423c
camerad: rework ox exposure score ( #26948 )
...
* wip
* make separate score func
* n4ot g
* clean up
* remove
* simplify
* b2b
* balance costs
* clean up
* no if tici
* box view
* new baselines
* Revert "new baselines"
This reverts commit f7a5d059ed
.
* Revert "box view"
This reverts commit a57924be36
.
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
cd8e03d53e
move all third party stuff into third_party/ ( #26853 )
...
* mv fastcluster
* move msm_kgsl.h
* camerad include
* update path
* mv pyextra
* fix tici build
* add acados_template to release build
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
ZwX1616
e6e33531ca
camerad: lower cost for OX high gain idxs ( #26775 )
2 years ago
ZwX1616
2153bfe27a
camerad: minor ae improvement to OX ( #26566 )
2 years ago
ZwX1616
5eaf525c18
camerad: fix OX flicker ( #26439 )
3 years ago
Kurt Nistelberger
4ec1c7e614
CI: camera box update ( #26414 )
...
* check if all frames are laggy
* apply tolerance
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
3 years ago
ZwX1616
aab4b79416
CI: set OX frame sync tolerance ( #26347 )
...
* ox tolerate
* int
* update comments
3 years ago
ZwX1616
fdd125853f
camerad: fix OX not having vignetting comp ( #26329 )
3 years ago
Rohit Bernard
9377448888
sim: Converting RGB frames to NV12 format in OpenCL ( #26169 )
...
* convert carla rgb frames to nv12
* code cleanup
* move kernel
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
2384a9ee67
fix autobrightness for OX03C10 ( #25915 )
...
* fix autobrightness for OX03C10
* fix scaling
* use cur ev
* oops
* bump cereal
3 years ago
Adeeb Shihadeh
1c6dc12a04
camerad: improved frame sync and skip tests ( #25904 )
...
* camerad: cleanup frame sync and skip tests
* fix linter
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
ZwX1616
4ed0abd197
camerad: recalibrate ox colors for HDR ( #25874 )
...
re
3 years ago
ZwX1616
bae94a0070
camerad: fix OX page faults ( #25853 )
3 years ago
Dean Lee
8870b439dd
camerad: fix class/struct forward declaration mistake ( #25842 )
3 years ago
Dean Lee
8ae3199578
camerad: make sure cl_context is valid for lifetime of camerad ( #25735 )
3 years ago
Dean Lee
78fd303d50
camerad: cleanup CameraBuf::acquire ( #25737 )
...
* cleanup
* add that back
* less indent
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Dean Lee
5bb230cde4
camerad: remove function camera_autoexposure ( #25733 )
3 years ago