Adeeb Shihadeh
747acaac71
camerad: prep to unify IFE + BPS processing ( #33770 )
...
* unify
* fixup
* start porting over ife branch
* setup new bufs
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
50baf37ddd
camerad: fix CAM_SYNC requests ( #33757 )
...
* camerad: fix CAM_SYNC requests
* cast
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
8cf1b79189
camerad: more ISP prep ( #33752 )
7 months ago
Adeeb Shihadeh
853febe21d
visionipc: remove RGB support ( #33739 )
...
* visionipc: remove RGB support
* bump
* msgq master
* fix sim
7 months ago
Dean Lee
f7c4aad8bd
cameread: remove outdated 'm' and 'atomic' libraries ( #33714 )
...
remove unused libs
7 months ago
Dean Lee
3ca158ad3e
camerad: remove Hardware::PC() check ( #33713 )
...
remove check for hardware::PC
7 months ago
Dean Lee
2cb526a5a9
camerad: refactor gain index loop for clarity ( #33613 )
...
* Refactor Gain Index Loop for Clarity
* Update system/camerad/cameras/camera_qcom2.cc
* Update system/camerad/cameras/camera_qcom2.cc
---------
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
7 months ago
ZwX1616
e5870dcf20
camerad: Replace ox LUT with function ( #33659 )
...
* fast eh
* need
* ;
* no chained
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
ZwX1616
1d5b207974
Revert "camerad: Replace ox LUT with function" ( #33658 )
...
Revert "camerad: Replace ox LUT with function (#33653 )"
This reverts commit 4851dacd06
.
7 months ago
ZwX1616
4851dacd06
camerad: Replace ox LUT with function ( #33653 )
...
* fast eh
* need
* ;
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
62d044c794
camerad: IFE config definitions ( #33624 )
...
* camerad: more definitions for IFE config
* comment
7 months ago
Adeeb Shihadeh
d5039bcbbe
camerad: reduce internal ISP buffer count ( #33619 )
7 months ago
Robin Reckmann
312a1b2a65
camerad: fix: Explicitly include necessary headers ( #33623 )
...
camerad: Explicitly include necessary headers
7 months ago
Dean Lee
07f3f93bd9
camerad: remove SpectraCamera inheritance from CameraState and simplify initialization ( #33611 )
...
remove inherit
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
20c983897b
camerad: set patch_offset
7 months ago
Adeeb Shihadeh
bdb4b87fa5
rm debug print
7 months ago
Adeeb Shihadeh
df9b8f0222
camerad: final debayer prep ( #33598 )
...
* prep part 4?
* cleanup
* little less magic
* reorg
* final touches
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Dean Lee
eaebea0968
camerad: cleanup includes ( #33600 )
...
cleanup includes
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Dean Lee
34f5ba46b3
camerad: move `handle_camera_event` to SpectraCamera class ( #33595 )
...
move handle event
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
eea06b4c3e
camerad: camera_util is spectra ( #33597 )
...
* camerad: camera_util is spectra
* lil more
* mv that
* fix build
* runs on device
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Dean Lee
943aa616b3
camerad: add helper function get_gain_factor ( #33594 )
7 months ago
Dean Lee
b852aba670
camerad: fix POLLPRI event check in poll loop ( #33591 )
...
fix event check in poll loop to validate POLLPRI
7 months ago
Dean Lee
c95f0f039f
camerad: move debugging parameters from camera_common.h to camera_qcom2.cc ( #33589 )
...
move debugging parameters
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
7 months ago
Dean Lee
78db136914
camerad: remove libyuv dependency ( #33593 )
...
remove libyuv
7 months ago
Dean Lee
467bd74944
camerad: remove `CameraType` enum from `camera_common.h` ( #33588 )
...
remove CameraType from camera_common.h
7 months ago
Adeeb Shihadeh
80013219fe
camerad: abstract out ISP handling ( #33583 )
...
* spectra and tici
* master
* move the rest
* rm stupid indirection
* start move
* multi cam state is dead
* rest is moved
* lil more
* mv that
* lil more
* fix pc build
* we haven't done rgb for a while
* bring this stuff back
* fix mac?
* no camera in ui!
* i remember why we always cut mac
* fix mac build
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
718835a825
camerad: prep part 2 ( #33584 )
...
* no camerastate in sensors
* bring this over
* and encoder
7 months ago
Adeeb Shihadeh
5378e63812
it's not really rgb
7 months ago
Adeeb Shihadeh
b733b875f8
camerad: ci -> sensor rename ( #33582 )
...
* camerad: ci -> sensor rename
* no behavior change for now
7 months ago
Adeeb Shihadeh
e04455cbaa
selfdrived: controlsd only does controls ( #33485 )
...
* selfdrived
* process replay
* lil more
* set the valids
* rename that
8 months ago
Dean Lee
ad42551437
camerad: encapsulate cl_command_queue in ImgProc ( #33178 )
...
move cl queue to imgproc
old-commit-hash: 8f9b165de8
9 months ago
Dean Lee
7adc4219f0
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
old-commit-hash: c40d129f70
9 months ago
Dean Lee
2a16a305b3
camerad: move `do_exit` to camera_qcom2.cc ( #33086 )
...
move do_exit to camera_qcom2.cc
old-commit-hash: 8ab587d30b
9 months ago
Dean Lee
b12b30c328
camerad: encapsulating event management within the ImgProc Class ( #33119 )
...
Encapsulating Event Management Within the ImgProc Class
old-commit-hash: 2189164d45
9 months ago
ZwX1616
03fa24ee82
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>
old-commit-hash: 3ccc63deec
9 months ago
Dean Lee
01ac526046
camerad: merge thread functions into one ( #33025 )
...
merge multiple thread functions into one
old-commit-hash: ccd369ee96
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
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
9 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
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
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
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
11 months ago
Andrei Radulescu
1cbb26bcc7
camerad: cast ci->image_sensor to unsigned short ( #32317 )
...
fixes 24.04 build
old-commit-hash: 6a52507e3a
12 months 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