Offroad power monitoring (#1067)

* 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
This commit is contained in:
robbederks
2020-03-10 22:18:48 -07:00
committed by GitHub
parent 5eeb8a0e02
commit 992be20d63
4 changed files with 160 additions and 16 deletions
+3 -1
View File
@@ -60,7 +60,6 @@ selfdrive/crash.py
selfdrive/launcher.py
selfdrive/manager.py
selfdrive/swaglog.py
selfdrive/thermald.py
selfdrive/logmessaged.py
selfdrive/tombstoned.py
selfdrive/pandad.py
@@ -295,6 +294,9 @@ selfdrive/sensord/sensors.cc
selfdrive/sensord/sensord
selfdrive/sensord/gpsd
selfdrive/thermald/thermald.py
selfdrive/thermald/power_monitoring.py
selfdrive/test/__init__.py
selfdrive/test/longitudinal_maneuvers/*.py
selfdrive/test/test_openpilot.py