Commit Graph

8 Commits

Author SHA1 Message Date
Willem Melching 4d6c98aa6b Add watchdog check to manager (#20277)
* this should work but doesnt

* Only offroad

* works

* make it work offorad

* reduce diff

* cleanup

* need util

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a94ba4fb8b704a5462352af4501290f63c987754
2021-03-08 19:17:46 -08:00
Willem Melching d9707bcaac manager: check if process is running before sending signal
old-commit-hash: af2a847f0647320c2e741221ca70ebf3657182f3
2021-03-08 15:42:09 +01:00
Willem Melching c993097393 Process config cleanup (#20276)
* add enabled flag

* remove hack

* only prepare when enabled
old-commit-hash: 476558b547a4747119819f9684baa81c61c86e97
2021-03-08 12:18:58 +01:00
Adeeb Shihadeh 22b96822d1 also skip ubloxd in sim
old-commit-hash: 8541ac8449bc27ea2f75fe03ebbb03374a004836
2021-03-07 22:14:25 -08:00
Adeeb Shihadeh 6696320745 don't run dmonitoringmodeld in sim
old-commit-hash: a9f8fe7dca7455ed433643046c802dc5cc550f35
2021-03-07 22:02:08 -08:00
Adeeb Shihadeh 3ad7100cb4 fix manager crash on PC after going offroad
old-commit-hash: 7cfd6b1170f0ef46ad1df07821be9c6fd627cd25
2021-03-07 21:52:20 -08:00
Adeeb Shihadeh 8dc4500a83 fix uninstall after manager refactor
old-commit-hash: 745a4e884a6a91befe990bc26831d2a53bddac6d
2021-03-07 21:02:37 -08:00
Willem Melching c0098cec09 Manager cleanup (#20231)
* move manager in folder

* inital refactor

* call start

* small cleanup

* add comments

* use self.signal()

* order shouldnt matter

* newlines

* add helpers

* newlines

* add process config

* split out build part of manager

* this should fix most tests

* no sensord on pc

* dont start athena

* remove comment

* fix old athena test

* fix inject model

* fix test car models

* should be not none

* fix helpers exitcode

* ignore manage_athenad

* Use time.monotonic()

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* combine init, remove spinner

* move manager test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5a3b51130649356b14b24e3c82e014b3a0be95a8
2021-03-05 11:03:23 +01:00