Dean Lee
cbbbaf22b7
camerad: zero memory before returning from MemoryManager::alloc ( #30781 )
...
* zero memory
* remove redundant memset
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b9080d2362
1 year ago
Dean Lee
6ae3e95542
camerad: cleanup includes ( #30782 )
...
* cleanup includes
* continue
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ab0b26d2b8
1 year ago
Dean Lee
9c4376a57f
camerad/CameraBuf: remove deprecated rgb_stride ( #30758 )
...
old-commit-hash: ea7e701052
1 year ago
Dean Lee
89395a7a3f
camerad/CameraBuf: rename yuv_type to stream_type ( #30695 )
...
old-commit-hash: 62670e66bf
1 year ago
Dean Lee
4dba841726
camerad: Remove deprecated 'fps' parameter ( #30662 )
...
remove parameter fps
old-commit-hash: 8a530621b4
1 year ago
Dean Lee
2b98a08180
camerad: remove camera_id ( #30654 )
...
* remove camera_id
* use variable
old-commit-hash: ea0b8920f5
1 year ago
Dean Lee
0b2219bb1f
camerad: move ar0231_register_lut to AR0231 ( #30652 )
...
old-commit-hash: 21d5d7d07a
1 year ago
Dean Lee
8d17ed5bb8
camerad: c++ sensorInfo ( #30650 )
...
* move remaining sensor parameters to CameraInfo
* same order
* member functions
* fix segfault
old-commit-hash: fb2f2d9cb2
1 year ago
Dean Lee
db18ad7467
camerad: define the constants directly in ctor ( #30651 )
...
old-commit-hash: 8fdcddec8a
1 year ago
Adeeb Shihadeh
f483812d07
camerad: renames ( #30649 )
...
* sensorinfo
* drop the camera
old-commit-hash: e757d9bae7
1 year ago
Dean Lee
27284c4049
camerad: move sensor related code to `/sensors` ( #30647 )
...
old-commit-hash: ef262ff9eb
1 year ago
Dean Lee
8e1aa2e513
camerad: refactor sensor parameters to struct ( #30644 )
...
* refactor camerainfo
* include <memory>
old-commit-hash: 51328609d2
1 year ago
Dean Lee
91dda81a69
camerad: fix use of uninitialized `CameraInfo` in `camera_open()` ( #30642 )
...
old-commit-hash: 9bff8ccd0f
1 year ago
Adeeb Shihadeh
65aad94f0d
Revert "camerad: refactor sensor parameters to struct ( #30639 )"
...
This reverts commit 166fdc950c23ccff7c6223b769dc916b6fbbc06a.
old-commit-hash: 0586f86ad0
1 year ago
Dean Lee
90e0e68376
camerad: refactor sensor parameters to struct ( #30639 )
...
* refactor camerainfo
* include <memory>
old-commit-hash: a70911d639
1 year ago
Dean Lee
164644e6b4
camerad: split sensor_ic2.h ( #30641 )
...
* split sensor_ic2.h
* move start_reg,stop_reg
old-commit-hash: bdf868ddc2
1 year ago
Dean Lee
3c4d6de5d1
camerad: move AR0231 functions to camera_ar0231.cc ( #30635 )
...
* move AR0231 functions to camera_ar0231.cc
* move to sensors/aro231.cc
old-commit-hash: ecfe201a57
1 year ago
Dean Lee
8c2f29dfb2
sensor2_i2c.h: add `#pragma once` ( #30636 )
...
old-commit-hash: 8bf78399e2
1 year ago
Greg Hogan
e91032efb3
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
old-commit-hash: db35dcd0b5
1 year ago
Adeeb Shihadeh
5acd765c1e
camerad cleanup ( #30573 )
...
* misc cleanup
* rm those
* rm utils
* fix build
* rm pool
* little more
* goodbye imgproc
old-commit-hash: e34ee43eea
1 year ago
Dean Lee
54346eccee
modeld: remove modeldata.h ( #30423 )
...
* remove modeldata.h
* remove TRAJECTORY_SIZE
old-commit-hash: 335237aea0
1 year ago
Adeeb Shihadeh
7df9a44085
camerad: reduce to 1s of buffers
...
old-commit-hash: 72cc2e34cb
1 year ago
Justin Newberry
3027a428cb
Pytest: tici mark for skipping on-device tests ( #30412 )
...
* mark tici
* not those ones
* missed that one
* add those
* add pypoetry
* oops
old-commit-hash: aec7cea30d
1 year ago
Shane Smiskol
13381ed446
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
old-commit-hash: 7f073483bb
2 years ago
Adeeb Shihadeh
9397618cfb
Update test_camerad.py
...
old-commit-hash: 18fbc1c29a
2 years ago
Adeeb Shihadeh
61cf541322
Minimal build ( #29600 )
...
* add build flag for minimum build
* add minimal build
* update
* fix pj
* bump opendbc
* update subaru
old-commit-hash: 4917e22615
2 years ago
Dean Lee
de809632bf
cpplint: add filter `whitespace/comma` ( #29595 )
...
old-commit-hash: 7bfd3dac81
2 years ago
Dean Lee
228d30d5a9
cpplint: add filter `whitespace/tab` ( #29588 )
...
old-commit-hash: 9c7bf50703
2 years ago
Dean Lee
0984736972
cpplint: add filter `build/include_subdir` ( #29585 )
...
old-commit-hash: 21da5a216f
2 years ago
Dean Lee
5f4b422305
cpplint: add filter `whitespace/semicolon` ( #29568 )
...
old-commit-hash: f203648de0
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
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
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
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
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
Dean Lee
f39cb90a09
camerad: auto free the buffer when it goes out of scope ( #28807 )
...
old-commit-hash: 8076107b4f
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
Dean Lee
05b2a0b884
common/swaglog: remove trailing semicolon from macros ( #29042 )
...
old-commit-hash: 269ceca27a
2 years ago
Dean Lee
9be7d252b8
camerad: remove unused frame_length from `struct FrameMetadata` ( #28693 )
...
* remove unused frame_length
* bump cereal
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9784f61f23
2 years ago
Mitchell Goff
31834eac4c
Remove get_model_yuv_transform function ( #28568 )
...
* remove yuv_transform from update_calibration
* Remove get_model_yuv_transform entirely
old-commit-hash: ae5bfcf248
2 years ago
ZwX1616
a18a41659d
camerad: write static AE settings only once ( #28134 )
...
* this is free
* illusion of choice
old-commit-hash: 78ba67e211
2 years ago
ZwX1616
2a5ca702e7
OX03C10: improve tone mapping ( #27754 )
...
Co-authored-by: Comma Dev1ce & Y. Yousfi <device@comma.ai>
old-commit-hash: 4b1f77d54a
2 years ago
ZwX1616
897271fc32
camerad: reduce daytime HDR blur ( #27644 )
...
* 60hz
* be dynamic
* cast
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 25a7f87b42
2 years ago
Dean Lee
cf52038858
camerad: remove deprecated focus parameters from FrameMetadata ( #27638 )
...
old-commit-hash: a86730a2c6
2 years ago
Robbe Derks
4f560215ba
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>
old-commit-hash: d26d8b3ba9
2 years ago
ZwX1616
6b64d20006
ci: intra-camera timing check ( #27069 )
...
* test frame time
* 1 is still much tighter than 5
old-commit-hash: e2e780e7c6
2 years ago
Adeeb Shihadeh
16dabbd686
fix typo AR0321 -> AR0231 ( #26993 )
...
old-commit-hash: ef42652368
2 years ago
ZwX1616
93679d10fc
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>
old-commit-hash: bc8e2032f7
2 years ago