Adeeb Shihadeh
3707efff6b
camerad: don't gate first frame on FSIN ( #34972 )
...
don't wait
3 weeks ago
Dean Lee
988fc477eb
camerad: remove duplicate include ( #34905 )
...
remove duplicate include
1 month ago
Adeeb Shihadeh
fb7b9c0f94
camerad: log failed sync time ( #34878 )
...
* camerad: log failed sync time
* mv
---------
Co-authored-by: Comma Device <device@comma.ai>
1 month ago
Adeeb Shihadeh
e1eac057ca
camerad: fix rare BPS startup issues ( #34871 )
...
* repros
* handle old frames
* cleanup
* more freq
* fix request id skipping
---------
Co-authored-by: Comma Device <device@comma.ai>
1 month ago
Adeeb Shihadeh
196eb50d23
camerad: log whether sync fails in IFE or BPS ( #34854 )
1 month ago
Adeeb Shihadeh
8c359892be
camerad: clear request queue on exit ( #34842 )
...
* camerad: doesn't need rt
* clear q
2 months ago
ZwX1616
1c678c910e
camerad: fix AE oscillation ( #34833 )
...
* flooring is fine
* .
* better solution
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Dean Lee
3e629acf79
camerad: use ALL_CAMERA_CONFIGS array ( #34810 )
...
use ALL_CAMERA_CONFIGS array
2 months ago
Adeeb Shihadeh
ca7b4340c1
camerad: make recovery reset threshold based on queue depth ( #34803 )
...
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Dean Lee
e9f7c01a3a
camerad: move output_type to config ( #34792 )
...
move output_type to config
2 months ago
Adeeb Shihadeh
8c2cd247f0
camerad: stress test ( #34735 )
...
* refactor a bunch of stuff
* prob
* enable
* rm print
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Adeeb Shihadeh
4bb0dfd59c
camerad: cleaner queueing logic ( #34786 )
2 months ago
Adeeb Shihadeh
f4d17cbfdd
camerad: sanity check tests ( #34785 )
...
lil more
2 months ago
Adeeb Shihadeh
a2bc5061e4
camerad: fix bps flush ( #34758 )
2 months ago
Adeeb Shihadeh
00e447bc30
Revert "camerad: make robust to introduced failures ( #34723 )"
...
This reverts commit c10abce1d5
.
2 months ago
Dean Lee
d9bc9be388
camerad: ensure sync objects are assigned only on successful creation ( #34731 )
...
ensure sync objects are assigned only on successful creation
2 months ago
Dean Lee
1bd0d6577c
camerad: remove unnecessary pthread linkage ( #34732 )
...
remove unnecessary pthread linkage
2 months ago
Adeeb Shihadeh
c10abce1d5
camerad: make robust to introduced failures ( #34723 )
...
* camerad: make robust to introduced failures
* more test
* start here
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Adeeb Shihadeh
937e2f7eb2
camerad: spectra stress test ( #34716 )
...
* cam stress
* lint fixes
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Dean Lee
cd014325c5
camerad: remove unused CameraState forward declaration ( #34703 )
...
remove unused CameraState forward declaration
2 months ago
Dean Lee
c3c878908d
camerad: Inline processing_time calculation during frame data initialization ( #34661 )
...
* Inline processing_time calculation during frame data initialization
* remove timestamp_end_of_isp
2 months ago
Dean Lee
839c8fbd6b
camerad/MemoryManager: remove lock and reduce redundant lookups ( #34656 )
...
remove lock and reduce redundant lookups
2 months ago
Dean Lee
2c56f44380
camerad: remove unused variables ( #34657 )
...
remove unused variables
2 months ago
Dean Lee
47c04210e2
camerad: refactor frame processing to direct handling ( #34655 )
...
refactor frame processing
2 months ago
Dean Lee
2215abb762
camerad: use single instance of MemoryManager for all cameras ( #34654 )
...
use single instance of MemoryManager for all cameras
2 months ago
Adeeb Shihadeh
9167e3dcf6
Revert "camerad: fix incorrect row offset calculation in calculate_exposure_value ( #34634 )"
...
This reverts commit 2941445849
.
2 months ago
Dean Lee
2941445849
camerad: fix incorrect row offset calculation in calculate_exposure_value ( #34634 )
...
Fix incorrect row offset calculation
2 months ago
Maxime Desroches
614be347ba
jenkins: add more devices to camerad test ( #34643 )
...
* more cam
* para
* fix
2 months ago
Adeeb Shihadeh
bdf0b7b42e
camerad: use full VIPC buffers for BPS cams ( #34641 )
2 months ago
Adeeb Shihadeh
52b66a1c0c
Stricter cam sync tests ( #34609 )
...
* strict
* fix that
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Adeeb Shihadeh
617eb33edc
camerad/OX03C10: accept FSIN on every frame ( #34636 )
2 months ago
Dean Lee
6d0aafd0f4
camerad: fix null dereference in camera_bufs_raw when accessing cur_camera_buf ( #34635 )
...
Fix null dereference in camera_bufs_raw
2 months ago
Dean Lee
99e552b485
camerad: remove camera threads ( #34627 )
...
* remove camera threads
* remove unnecessary frame delay handling logic
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Dean Lee
4835e9fa88
camerad: rename set_exposure_target to calculate_exposure_value ( #34631 )
...
rename set_exposure_target to calculate_exposure_value
2 months ago
Dean Lee
51d21f0113
camerad: fix crash during camera re-alignment ( #34630 )
...
fix crash during road camera re-alignment
2 months ago
Dean Lee
0f5f3c4cb2
camerad: cleanup syncFirstFrame ( #34626 )
...
* cleanup syncFirstFrame
* handle disabled camera
2 months ago
Dean Lee
acd00b9791
camerad: sync initial frame ID ( #34614 )
...
* sync initial frame ID
* count enabled cameras
* static function
* Replace std::abs with std::max/std::min to avoid overflow
* rebase master
* timeout
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Adeeb Shihadeh
fb3f5dd169
camerad: make handle_camera_event readable ( #34620 )
...
* renames
* lil more
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Dean Lee
1cff1a363e
camerad: simplify SpectraBuf::init by reducing redundant flags ( #34618 )
...
refactor init
2 months ago
Adeeb Shihadeh
b3d5ab6a38
camerad/OX03C10: gate first frame on FSIN pulse ( #34611 )
2 months ago
Adeeb Shihadeh
4c6b7c3c44
camerad: remove GPU debayer ( #34610 )
2 months ago
Adeeb Shihadeh
efda24dbe1
camerad: match some BPS settings ( #34548 )
...
* start common
* fix bayer pattern
* lil more
* all 1q10
* cc en
* same pts?
* this is weird
* some cleanup
* less
* off
* clean up
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Adeeb Shihadeh
d1b93287f2
camerad: flush BPS requests ( #34581 )
...
* repro
* cleanup
* flush bps
* cleanup
* revert that
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Adeeb Shihadeh
3d097faec0
Revert "camerad: enable BPS ( #34570 )"
...
This reverts commit da2a5f4305
.
2 months ago
Adeeb Shihadeh
da2a5f4305
camerad: enable BPS ( #34570 )
...
* camerad: enable BPS
* update power draw
2 months ago
Dean Lee
3c0990e716
move thumbnail generation from camerad to encoderd ( #34554 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 months ago
Dean Lee
65e478f27f
camerad: simplify buffer indexing in enqueue_req_multi ( #34553 )
...
simplify buffer indexing in enqueue_req_multi
3 months ago
Adeeb Shihadeh
1090af6e3d
camerad: IFE register cleanup ( #34550 )
...
* start there
* lil more
* get camera num out of there
---------
Co-authored-by: Comma Device <device@comma.ai>
3 months ago
Adeeb Shihadeh
4066d49d70
camerad: debayer in the BPS ( #33763 )
...
* bps support
* cleanup with offsetof
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
3 months ago
Adeeb Shihadeh
5b870c6f92
camerad: simple BPS support ( #34538 )
...
* camerad: simple BPS support
* works
* cleanup
* lil more
---------
Co-authored-by: Comma Device <device@comma.ai>
3 months ago