Commit Graph

65 Commits

Author SHA1 Message Date
Adeeb Shihadeh
7df9a44085 camerad: reduce to 1s of buffers
old-commit-hash: 72cc2e34cb
2023-11-09 20:52:21 -08:00
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
2023-11-07 17:35:44 -08:00
Shane Smiskol
13381ed446 services: capitalize constant service list (#30005)
* rename

* bump

* Apply suggestions from code review
old-commit-hash: 7f073483bb
2023-09-21 18:25:15 -07:00
Adeeb Shihadeh
9397618cfb Update test_camerad.py
old-commit-hash: 18fbc1c29a
2023-08-31 14:09:52 -07:00
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
2023-08-24 14:58:30 -07:00
Dean Lee
de809632bf cpplint: add filter whitespace/comma (#29595)
old-commit-hash: 7bfd3dac81
2023-08-24 10:42:06 -07:00
Dean Lee
228d30d5a9 cpplint: add filter whitespace/tab (#29588)
old-commit-hash: 9c7bf50703
2023-08-24 08:06:58 -07:00
Dean Lee
0984736972 cpplint: add filter build/include_subdir (#29585)
old-commit-hash: 21da5a216f
2023-08-24 15:42:17 +01:00
Dean Lee
5f4b422305 cpplint: add filter whitespace/semicolon (#29568)
old-commit-hash: f203648de0
2023-08-23 15:00:30 -07:00
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
2023-08-23 13:25:17 -07:00
Dean Lee
004a097c95 cpplint: add readability/braces filter (#29554)
old-commit-hash: 363740a497
2023-08-23 10:13:46 -07:00
Adeeb Shihadeh
701cd6f6fe add cpplint (#26855)
* setup cpplint

* only start that

* check line length

* check these

* rm exceptions
old-commit-hash: 952d720b6e
2023-08-22 13:55:23 -07:00
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 db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
old-commit-hash: a9626f95b6
2023-08-20 20:49:55 -07:00
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
2023-08-11 15:33:49 -07:00
Adeeb Shihadeh
b7f6b6dc95 pytest unit test running (#29261)
* setup config

* collect passes

* pytest system/ works
old-commit-hash: 670fa9af5f
2023-08-10 08:23:19 -07:00
Adeeb Shihadeh
8e2a03b46d rm some old tests
old-commit-hash: 44c76257a1
2023-08-09 22:31:47 -07:00
Dean Lee
f39cb90a09 camerad: auto free the buffer when it goes out of scope (#28807)
old-commit-hash: 8076107b4f
2023-08-08 13:26:04 -07:00
Mitchell Goff
49b07db500 Added python VisionBuf class (#29075)
* Added python VisionBuf class

* fixed property names

* Bump cereal
old-commit-hash: f0ae0c34cd
2023-07-25 01:08:39 -07:00
Dean Lee
05b2a0b884 common/swaglog: remove trailing semicolon from macros (#29042)
old-commit-hash: 269ceca27a
2023-07-19 19:46:42 -07:00
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
2023-06-25 12:51:10 -07:00
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
2023-06-21 20:02:44 -07:00
ZwX1616
a18a41659d camerad: write static AE settings only once (#28134)
* this is free

* illusion of choice
old-commit-hash: 78ba67e211
2023-05-08 18:43:54 -07:00
ZwX1616
2a5ca702e7 OX03C10: improve tone mapping (#27754)
Co-authored-by: Comma Dev1ce & Y. Yousfi <device@comma.ai>
old-commit-hash: 4b1f77d54a
2023-04-05 19:46:04 -07:00
ZwX1616
897271fc32 camerad: reduce daytime HDR blur (#27644)
* 60hz

* be dynamic

* cast

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 25a7f87b42
2023-03-22 13:44:29 -07:00
Dean Lee
cf52038858 camerad: remove deprecated focus parameters from FrameMetadata (#27638)
old-commit-hash: a86730a2c6
2023-03-21 16:55:06 -07:00
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
2023-03-16 10:59:27 +01:00
ZwX1616
6b64d20006 ci: intra-camera timing check (#27069)
* test frame time

* 1 is still much tighter than 5
old-commit-hash: e2e780e7c6
2023-01-24 16:34:41 -08:00
Adeeb Shihadeh
16dabbd686 fix typo AR0321 -> AR0231 (#26993)
old-commit-hash: ef42652368
2023-01-17 19:52:06 -08:00
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 f7a5d059eda70fa4d49e3024923da30e8821f42b.

* Revert "box view"

This reverts commit a57924be36e7d6abc2585aca9575c74cd583ef86.

* maximize dcg

Co-authored-by: Comma Dev1ce <device@comma.ai>
old-commit-hash: bc8e2032f7
2023-01-17 14:16:28 -08:00
ZwX1616
0dc7085d41 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 f7a5d059eda70fa4d49e3024923da30e8821f42b.

* Revert "box view"

This reverts commit a57924be36e7d6abc2585aca9575c74cd583ef86.

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 028527423c
2023-01-13 21:32:15 -08:00
Adeeb Shihadeh
b3e47c691b 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>
old-commit-hash: cd8e03d53e
2022-12-31 21:00:50 -08:00
ZwX1616
2bbf68c63b camerad: lower cost for OX high gain idxs (#26775)
old-commit-hash: e6e33531ca
2022-12-12 16:35:25 -08:00
ZwX1616
8a32eec398 camerad: minor ae improvement to OX (#26566)
old-commit-hash: 2153bfe27a
2022-11-23 13:08:04 -08:00
ZwX1616
0ec1b66315 camerad: fix OX flicker (#26439)
old-commit-hash: 5eaf525c18
2022-11-09 21:49:24 -08:00
Kurt Nistelberger
2d2e3a8d48 CI: camera box update (#26414)
* check if all frames are laggy

* apply tolerance

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 4ec1c7e614
2022-11-08 13:51:16 -08:00
ZwX1616
d8a3d93a9d CI: set OX frame sync tolerance (#26347)
* ox tolerate

* int

* update comments
old-commit-hash: aab4b79416
2022-11-03 14:27:45 -07:00
ZwX1616
dec5a0f014 camerad: fix OX not having vignetting comp (#26329)
old-commit-hash: fdd125853f
2022-11-02 14:42:29 -07:00
Rohit Bernard
bf27021719 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>
old-commit-hash: 9377448888
2022-10-29 13:20:37 -07:00
Adeeb Shihadeh
52529fb8f6 fix autobrightness for OX03C10 (#25915)
* fix autobrightness for OX03C10

* fix scaling

* use cur ev

* oops

* bump cereal
old-commit-hash: 2384a9ee67
2022-09-28 15:45:15 -07:00
Adeeb Shihadeh
f50800b768 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>
old-commit-hash: 1c6dc12a04
2022-09-27 21:32:21 -07:00
ZwX1616
0bc78ce16b camerad: recalibrate ox colors for HDR (#25874)
re
old-commit-hash: 4ed0abd197
2022-09-22 12:52:48 -07:00
ZwX1616
129a49aeef camerad: fix OX page faults (#25853)
old-commit-hash: bae94a0070
2022-09-20 16:00:56 -07:00
Dean Lee
761cb60c54 camerad: fix class/struct forward declaration mistake (#25842)
old-commit-hash: 8870b439dd
2022-09-19 13:24:20 -07:00
Dean Lee
f7b83d6f02 camerad: make sure cl_context is valid for lifetime of camerad (#25735)
old-commit-hash: 8ae3199578
2022-09-16 21:10:26 -07:00
Dean Lee
b546a476cc camerad: cleanup CameraBuf::acquire (#25737)
* cleanup

* add that back

* less indent

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 78fd303d50
2022-09-16 20:50:10 -07:00
Dean Lee
d482e04b01 camerad: remove function camera_autoexposure (#25733)
old-commit-hash: 5bb230cde4
2022-09-16 20:18:54 -07:00
Dean Lee
e1c1a8fc2a CameraBuf: remove unused member 'camera_state' (#25736)
old-commit-hash: 25ce997f37
2022-09-16 20:11:46 -07:00
Dean Lee
0ce385a486 camera_qcom2: remove unneeded static keywords (#25780)
old-commit-hash: 467c4f7fb3
2022-09-16 20:10:08 -07:00
ZwX1616
7cd138328e better OX03C10 settings (#25796)
* ev has different scales

* fix initial gradient

* fix highlight weirdness

* try smooth set of gains

* delay

* add gain idx

* oops

* set different min dc

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c7a0f23b45
2022-09-15 15:06:43 -07:00
Adeeb Shihadeh
565511431d camerad: log image sensor in camera states (#25786)
* camerad: log image sensor in camera states

* for all cams

* bump cereal

* revert that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7352e6d940
2022-09-14 15:40:29 -07:00