* add putBool/getBool wrappers to cython class
* use new API
* some more puts
* fix mockparams arguments
* add get_bool to MockParams
* typo
old-commit-hash: ae094042ad
* also shutdown on tici
* force powerdown
* bump panda
* abstract out shutdown and thermal config
* add comment on tici shutdown
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8ad1c793d1
* 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
* 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
* Release lock after exceptions
* No pulsed measurement on uno
* Fix last_measurement_time=None while integrating when going offroad
* Also clear next pulsed measurement time
* Move around locks
* Locks are good now?
old-commit-hash: 905f6b1b77
* Untested implementation of offroad power monitoring
* Fixed some syntax errors
* Cast to int
* Fixed pylint
* Wrapped in class
* Put pulsed calc in own thread
* Longer timeout before starting pulse measurement
* Fudge factor + flake8
* Made integration thread-safe and catch charge disable exceptions
* Catch all calculation errors
* Fixed networkstrength removal
old-commit-hash: 992be20d63