* refactor
add function get_camerabuf_by_type
remove cl_free
use camera_id
move front stuff into frontview_thread
bigger refactor
more
typo
rename camerabuf *c to *b
cleanup header files
remove wideview_thread
camera_qcom.c to c++
fix SConscript
camera_process_buf
space
sendrgb same with before
do autoexposure in processing_thread
correct sendrgb
add camera_common.cc
move yuv_transform to CameraBuf
* use C to keep consitent
* rebase master
* rebase master
* continue refactor
* refactor all camera related data&function out of main
done
* cleanup
* -use buf.rgb_width&height
* remoe ,
* rebase master
* remove unused std::vector
* add func common_camera_process_front
* fix max
* fix sendrgb
* less crap being logged
* fix indents
* add back thumbnails
* thumbnail fixed on tici
* junk junk junk
* unify api
* fix ptr ref
* lol!
* cleanup
* more simplified
* typos
* remove terminate
* use standard polling
* ops_thread refactor, too much code!
* fix build
* ok
* assert
* listen
* incl more
* wq!
* fix more build
* macos
* fix exp targets
* front is different
* const
* bye
* remath
* remove irrelevant
* do ops in a thread
* fix init
* return null
* QCOM2 ops
* qcom2 build
* missing comma
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6b020241c9
* no more focus recover active
* consistency
* more permanent
* dm alerts
* sanity check test
* no please
* clean that up
* update refs
* one more
* bump cereal
old-commit-hash: ae4b4bd125
* always c++
* Create C++ params class
* get works
* tests hang now
* passes tests
* cleanup string formatting
* handle interrupt in blocking read
* fix memory leak
* remove unused constructor
* Use delete_db_value directly
* Rename put -> write_db_value
* filename cleanup
* no semicolons in cython
* Update common/SConscript
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* add std::string version of delete_db_value
* This is handled
* cleanup encoding
* Add clear method to clear all
* add persistent params
* fix android build
* Should be called clear_all
* only import params when needed
* set params path on manager import
* recusrively create directories
* Fix function order
* cleanup mkdirp
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2e182e5c57
* prepare a test for valgrind by fixing linter issues
* something went wrong
* Try update cereal
* Not working, fixing replay_learning.py
* Testing
* Testing
* Working now
* More logs, a bit of cleaning, still no idea how this works
* Ok got 10% cleaning done
* trying some stackOverflow code
* Lots of cleaning
* wip
* Delete valgrind_testing.py
* Delete replay_learning.py
* Add to CI, cannot fail though
* Add to CI, cannot fail though
* Now the unit test should fail
* Dump valgrind output in case of a failure
* fix subrepos
* fix subs
* hopefully fixes every issue that we have
* wait for message confirmation
* Revert "wait for message confirmation"
This reverts commit ad7ba280ec.
* fix local issues
* Revert "fix local issues"
This reverts commit 4498df21df.
* attempt 3 to fix things
* untested function extraction
* refactor
* add valgrind task
* add delay and BASEDIR
* Make test not fail, it is not designed for that
* fix subrepositories
* fix tests
* Real fix now :)
* scons
* ... stupid CI
* fix valgrind CI
* Update test.yaml
* Update test.yaml
* Update test.yaml
* add valgrind logs as file
* remove delays
* kill process more reliably
* rename action
* small cleanup
* fix casting to int in case of large leaks
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a09fd7c860
* run loggerd tests in jenkins
* fast
* check segs on the fly
* missing import
* wait for dir
* no thread
* relax FILE_SIZE_TOLERANCE
* cleanup
* unused
* set ci flag
* wait longer for first seg
* fix race condition with setting RecordFront
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 427d4a5a9e
* fix setting core affinity
* dmonitoringd doesn't need rt priority
* android only gets two cores
* model and planner get core 2
* log missed cycle count
* neos update
* prod image
* revert NEOS changes
* still need this
old-commit-hash: ef21b83937
* reduce paramsd cpu
* reduce calibrationd cpu usage
* calibration_helpers was mostly unused
* more calibration cleanup
* update refs
* fix thresholds in CPU test
old-commit-hash: e0004d0981
* refactor vision
* don't show slow frame message when in preview mode
* change draws to uint32_t
* set vision_seen=false after destroy
* remove vision_connect_thread
* refactor ui_update
* seelp 30ms when vision is not connected
* remove should_swap
* call ui_update_sizes before ui_draw
* rebase
* start bigger UI refactor
* don't need the touch fd
* fix qt build
* more cleanup
* more responsive
* more refactor
* fix for pc
* poll for frames
* lower CPU usage
* cleanup
* no more zmq
* undo that
* cleanup speed limit
* fix sidebar severity for athena status
* not aarch64
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 848301b091
* fix wasted cycles in locationd and dmonitoringd
* bump cereal
* calibrationd
* Revert "calibrationd"
This reverts commit 580051a33b.
* this is cleaner
* calibrationd
* paramsd is driven by liveLocationKalman
* only log params once a minute
* stricter CPU usage test
* revert locationd for now
* revert calibrationd too
* revert thresholds
old-commit-hash: 21fbe26980
* hardware abstraction class
* De Morgan
* Rename pc hardware class
* Fix sound card in controlsd
* Pc get sim info
* fix hardware in test
* two more
* No more random imei on android
* no randomness on android
* Need to return something that looks like imei for registration to work
* Return proper network strength
* Unused import
* Bug fixes + gpsd is only android
old-commit-hash: c7152d5419
* loggerd test
* delete afterwards
* add ccc
* fix pylint
* cleanup rotation test
* this works
* bump tolerance
* clear the data after test
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 87473fbc41