Commit Graph

12 Commits

Author SHA1 Message Date
William 798e1a8908 Shebang Fix (#1477)
* Shebang Fix

Per George's "I'd merge a PR replacing the 4 python3.7 with python3" on Discord. George updated Python to 3.8.2 for webcam tools, which broke manager from launching. Instead of chasing the exact version, it seems more reasonable to fall back to 3.

* More Python3.7's
old-commit-hash: aef01f4bdfc03929a7ad046e867ef975f81b7b59
2020-05-08 18:08:11 -07:00
Willem Melching a4e1d28f7a Wait 5s before going offroad after panda disconnect (#1406)
* wait 10s before going offroad after panda disconnect

* Add cloudlog

* Typo

* 5 s
old-commit-hash: 2ea494ed52c876146c3973e55adb54bf3eb04a66
2020-04-20 14:15:01 -07:00
robbederks a072639865 Added value-error for negative integration (#1390)
old-commit-hash: 15f57c4c22bb8e1f091344891e5b7d88443683d1
2020-04-17 14:05:43 -07:00
ZwX1616 f90b956f47 RHD support for driver monitoring (#1299)
old-commit-hash: 133b1a20b42e56dc67a013dc2ee856360e4d1d1c
2020-04-15 16:48:44 -07:00
Willem Melching 907a97f1ee Don't use battery temperature to determine fan type (#1331)
* Don't use battery temperature to determine fan type

* Add cloudlog

* Init is_uno
old-commit-hash: 017b1f677050b1b9c29ce8173b80cd9a89901e40
2020-04-07 19:18:14 -07:00
Willem Melching bea4addcc2 Boardd should always send health, even with no panda (#1322)
* 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: b16e11cde5eccf3f3d028cf8ea2190726944a895
2020-04-06 16:01:42 -07:00
Willem Melching 3e9de54726 add low pass filter on cpu temp (#1305)
old-commit-hash: b497a014176def38cc2ccafa55bea9cdefa5983b
2020-04-01 15:58:40 -07:00
eFini 7d25d238a3 use put_nonblocking when possible (#1288)
* use put_nonblocking when possible

* revert uneeded changes
old-commit-hash: 106be23c4e20f30dbedd3a2cddaec78584d726c5
2020-03-31 12:09:38 -07:00
Andy a1c67df499 Replace usages of datetime.now() with datetime.utcnow() (#1267)
old-commit-hash: 54f34abdb36cbf7a43b3de1ba8765a972413179d
2020-03-26 19:49:58 -07:00
robbederks 4b7588e9ab Power monitoring fix (#1269)
* 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: 905f6b1b777d2032fc9ea510da02f3183e145cbe
2020-03-23 18:02:53 -07:00
Willem Melching 6c6df5486a Small thermald cleanup
old-commit-hash: 65ad31a7e45e79d2147dac6d711be68961f1889b
2020-03-12 11:55:33 -07:00
robbederks b0855ab17c 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
old-commit-hash: 992be20d633fbd75ead240a5aeeb86451d42c3c2
2020-03-10 22:18:48 -07:00