* 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
* 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
* wip, ready to test
* tweaks
* fix
* fix
* fix power monitoring
* fix param writing
* no forced charging on high voltage
* reset capacity on reboot
* don't shutdown unless started seen
* fix unused var warning
* fix linting errors
* time is always valid
* QCOM gate
* Local params
* decimate saving
* fix linting
* rename param
* Log car battery capacity
* fix put_nonblocking
* Added some unit tests
* Add test to docker test list
* fix precommit
* cleanup
* run tests in CI
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7555379b2b
* start on panda abstraction layer
* handle bulk transfer in library
* Safety model abstraction
* Abstract hw type into library
* Handle disconnect
* RTC stuff
* Fan control
* Health
* Panda fw version
* Read serial
* Power saving
* Power mode
* Cleanup pigeon thread init
* Rename safety setter variable name
* Remove comment
* Unused global cleanup
* malloc -> new
* whitespace
* Use std::thread
* Use std::thread for safety setter
* Cleanup igntion_last global
* Heartbeat
* logd
* More global cleanup
* Put back sleep
* ir pwr
* Always broadcast health
* init struct with zeroes
* Fix eon build
* fix race condition
* fix Adeebs comments
* abstract can send and receive
old-commit-hash: 80acb32825
* add func usb_write&usb_read
* rename cnt to err
* pass in device handle
* use defines for flag values
* consistent spaces
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1da11c26b6
* enable Wunused, first pass
* unused stuff in snpe model
* these are used on phone
* handle sigint and sigterm in modeld
* fix phone build
* camera qcom
* QCOM build works
* delete unused camerad vars
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: eb1aa3d831
* Call to gmtime is potentially dangerous
* Revert "Call to gmtime is potentially dangerous"
This reverts commit cc531e4e19.
* Call to gmtime is potentially dangerous
* oops
* not a pointer
* Little identation fix
old-commit-hash: 3ddbb7fe5b
* add PubMaster & SubMaster
remove 'delete msg'
remove headers
* use constructor to initial all submster
* modify drain sockets
* fix typo in ssconscript.remove lines
no checkValid in loggerd
last modify
handle_message:event->&event
fix type
remove heads
event to auto
* new interface
* api changed
* Revert "use constructor to initial all submster"
This reverts commit 73be7ea46250a325ce41d3a0445e34395a2ae692.
* change to new api
* revert loggerd
* dd
* use new PubSub api
* update to new interface
don't modify loggerd
reset panda
reset opendbc
remove empty lines
* switch to new pubMaster
* update to the new inteface
change
remove error code
. to ->
merge paramsd.cc
update panda
fix typo
simplify
fix typo
* Fix build
* always conflate
Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: ab5af232b2
* dont go offroad when health times out
* always send health packet
* Handle disconnect in thermal
* Handle unplug in power monitoring
* Small cleanup
* Remove copied code
* Add mutex
* Can just use infinite timeout. It will still return if not connected
old-commit-hash: b16e11cde5
* Added hw status to ublox test scripts and ubloxGnss packet
* Added extra config to boardd
* Implemented new ublox message handler in ubloxd
* Fixed debug text
* Added some explanation and cereal bump
old-commit-hash: d0c1f9a864