Adeeb Shihadeh
8277f37c4b
camerad: move ae test to pytest/catch2 ( #30994 )
...
* mv ae gray test
* cleanup
old-commit-hash: 3e601b5e8fcaf2fd0885cc64949fa1349a8069eb
2024-01-13 15:40:25 -08:00
Justin Newberry
c8cc30112d
rename segmentrangereader to logreader ( #30981 )
...
* Replace multilogiterator
* replace logreader
* update readme
* fix from_Bytes
* new section
* reset before iter
* selector
* fix internal
* whitespace
old-commit-hash: 3d73512c0702598d27e04039976fe0a91d5952f0
2024-01-12 12:53:50 -08:00
Justin Newberry
5087dcc5bb
More migration to segmentrangereader ( #30959 )
...
* filter log message
* ffr
* gtfs
* gtfs
old-commit-hash: 32dfb3f8f28df60657e8d94c53d219e4606f2375
2024-01-11 10:14:10 -08:00
Adeeb Shihadeh
1d1514449c
OS04C10 support ( #30658 )
...
* getting frames
* ok
* support both output
* cleanup
* fix unused
* undo
* fix release files
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: cd1d7eb4d2e590c56a570e6f45189eb10401401c
2024-01-09 14:19:10 -08:00
Adeeb Shihadeh
cef8286550
camerad: log request id ( #30935 )
...
* camerad: log request id
* bump cereal
* bump cereal
old-commit-hash: 91c5c5eca765c990ff185a4a0bda7207eb55787d
2024-01-08 09:16:50 -08:00
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: b9080d23627849aafc4969d39df50cc615ffecdf
2023-12-18 13:54:11 -08:00
Dean Lee
6ae3e95542
camerad: cleanup includes ( #30782 )
...
* cleanup includes
* continue
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: ab0b26d2b8dc8b3957812856917084af2cb3df0a
2023-12-17 22:42:52 -08:00
Dean Lee
9c4376a57f
camerad/CameraBuf: remove deprecated rgb_stride ( #30758 )
...
old-commit-hash: ea7e701052f8da1fb562746c62bdb5a64410ea76
2023-12-15 19:48:26 -08:00
Dean Lee
89395a7a3f
camerad/CameraBuf: rename yuv_type to stream_type ( #30695 )
...
old-commit-hash: 62670e66bfb93f2d203abcb675f93ccac39d768a
2023-12-11 21:53:27 -08:00
Dean Lee
4dba841726
camerad: Remove deprecated 'fps' parameter ( #30662 )
...
remove parameter fps
old-commit-hash: 8a530621b482d57aaf6797d9169abb055302f50d
2023-12-09 08:10:53 -08:00
Dean Lee
2b98a08180
camerad: remove camera_id ( #30654 )
...
* remove camera_id
* use variable
old-commit-hash: ea0b8920f578e2b6f348d2e18b5783166731c880
2023-12-08 16:15:58 -08:00
Dean Lee
0b2219bb1f
camerad: move ar0231_register_lut to AR0231 ( #30652 )
...
old-commit-hash: 21d5d7d07a278635a1166aef5d5b209e32986382
2023-12-08 14:57:29 -08:00
Dean Lee
8d17ed5bb8
camerad: c++ sensorInfo ( #30650 )
...
* move remaining sensor parameters to CameraInfo
* same order
* member functions
* fix segfault
old-commit-hash: fb2f2d9cb21d8109d14a9d9790fda7de07202910
2023-12-08 14:27:28 -08:00
Dean Lee
db18ad7467
camerad: define the constants directly in ctor ( #30651 )
...
old-commit-hash: 8fdcddec8a3798f2f100aec48a7e8047040c2c1d
2023-12-08 13:01:41 -08:00
Adeeb Shihadeh
f483812d07
camerad: renames ( #30649 )
...
* sensorinfo
* drop the camera
old-commit-hash: e757d9bae7bcd068d26224344e0227c12a5171cc
2023-12-08 11:39:40 -08:00
Dean Lee
27284c4049
camerad: move sensor related code to /sensors ( #30647 )
...
old-commit-hash: ef262ff9eb5e52a58838479510947552a88ae3bd
2023-12-08 11:19:10 -08:00
Dean Lee
8e1aa2e513
camerad: refactor sensor parameters to struct ( #30644 )
...
* refactor camerainfo
* include <memory>
old-commit-hash: 51328609d21d3d2c6ca211c2eeafcdc9511feb6f
2023-12-08 00:01:16 -08:00
Dean Lee
91dda81a69
camerad: fix use of uninitialized CameraInfo in camera_open() ( #30642 )
...
old-commit-hash: 9bff8ccd0fa8f29d3fa92e4505d9cdd7a72d0f12
2023-12-07 20:11:44 -08:00
Adeeb Shihadeh
65aad94f0d
Revert "camerad: refactor sensor parameters to struct ( #30639 )"
...
This reverts commit 166fdc950c23ccff7c6223b769dc916b6fbbc06a.
old-commit-hash: 0586f86ad01323bc213c125e8584df277555456d
2023-12-07 16:21:16 -08:00
Dean Lee
90e0e68376
camerad: refactor sensor parameters to struct ( #30639 )
...
* refactor camerainfo
* include <memory>
old-commit-hash: a70911d6396a41fb006043b41e89281fa7a5d8b1
2023-12-07 16:06:55 -08:00
Dean Lee
164644e6b4
camerad: split sensor_ic2.h ( #30641 )
...
* split sensor_ic2.h
* move start_reg,stop_reg
old-commit-hash: bdf868ddc276e2cf8a644376afe1a9634bdf06fe
2023-12-07 15:45:49 -08:00
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: ecfe201a57431e5dc1e4def58519f6493d489bab
2023-12-07 11:48:17 -08:00
Dean Lee
8c2f29dfb2
sensor2_i2c.h: add #pragma once ( #30636 )
...
old-commit-hash: 8bf78399e220a55855db7bd17872edb29cae7569
2023-12-07 10:21:14 -08:00
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: db35dcd0b5353d9c009fcf5817e611125a6b0b8b
2023-12-06 09:55:29 -08:00
Adeeb Shihadeh
5acd765c1e
camerad cleanup ( #30573 )
...
* misc cleanup
* rm those
* rm utils
* fix build
* rm pool
* little more
* goodbye imgproc
old-commit-hash: e34ee43eeae000d080cb923b722afaf4c06fbc59
2023-12-01 20:10:07 -08:00
Dean Lee
54346eccee
modeld: remove modeldata.h ( #30423 )
...
* remove modeldata.h
* remove TRAJECTORY_SIZE
old-commit-hash: 335237aea0a854b41960c32b2f54b6c5af63b707
2023-11-18 22:45:26 -08:00
Adeeb Shihadeh
7df9a44085
camerad: reduce to 1s of buffers
...
old-commit-hash: 72cc2e34cbd3ad25557c4b226c12790cb97457cd
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: aec7cea30d48dc8915eea38c86de7d4effa0548d
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: 7f073483bb2586053d6c5508ef3f420947941d90
2023-09-21 18:25:15 -07:00
Adeeb Shihadeh
9397618cfb
Update test_camerad.py
...
old-commit-hash: 18fbc1c29a0a8f42b73ecf9fa0b091ff2a9b3ebf
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: 4917e22615adbfcc9b3c3ec89b00d240e0b48883
2023-08-24 14:58:30 -07:00
Dean Lee
de809632bf
cpplint: add filter whitespace/comma ( #29595 )
...
old-commit-hash: 7bfd3dac811ae95bfd09495e88377dfbaacda393
2023-08-24 10:42:06 -07:00
Dean Lee
228d30d5a9
cpplint: add filter whitespace/tab ( #29588 )
...
old-commit-hash: 9c7bf50703e4da45163e175766b4bdfabcb9916c
2023-08-24 08:06:58 -07:00
Dean Lee
0984736972
cpplint: add filter build/include_subdir ( #29585 )
...
old-commit-hash: 21da5a216fc8f5269d2deedc538c2f543a1c270a
2023-08-24 15:42:17 +01:00
Dean Lee
5f4b422305
cpplint: add filter whitespace/semicolon ( #29568 )
...
old-commit-hash: f203648de0a9d78121d3a775ae454a43e1211e62
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: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Dean Lee
004a097c95
cpplint: add readability/braces filter ( #29554 )
...
old-commit-hash: 363740a497620249066522c87ddb03e1362749d4
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: 952d720b6e854b3ebbb9fd0fd82cd38f3ae04b90
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: a9626f95b69af19306143fc4def02fb5769405d2
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: 62c1e6592439119f360dd64b854e7047f35222ba
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: 670fa9af5f66278152acf477b19d19559733094f
2023-08-10 08:23:19 -07:00
Adeeb Shihadeh
8e2a03b46d
rm some old tests
...
old-commit-hash: 44c76257a15530d6b03fff119e8719111fb4d131
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: 8076107b4fa1b3c2b7c14a8464aa92e949e2e139
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: f0ae0c34cda2d032bc270efe6360a1dd1bbd77f2
2023-07-25 01:08:39 -07:00
Dean Lee
05b2a0b884
common/swaglog: remove trailing semicolon from macros ( #29042 )
...
old-commit-hash: 269ceca27a5fedc1eadd71503cf13450a061b382
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: 9784f61f231ba1ba70c7e086014d6a385f078ae0
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: ae5bfcf248e20036998331d5db3cf44c323fe802
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: 78ba67e211bd1df3d4f7ba6e1cd331e90e238ee1
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: 4b1f77d54ab550c94e70bc374eaf3b887ae0ed84
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: 25a7f87b424b2a4fd116aff5a5a83ecd1fd87f07
2023-03-22 13:44:29 -07:00