Commit Graph

13 Commits

Author SHA1 Message Date
Adeeb Shihadeh 3ecfc169e4 only restart crashed UI on tici 2021-03-14 20:39:48 -07:00
Comma Device 8111d78cf3 uncomment 2021-03-09 23:00:25 -08:00
Comma Device 7a3d195f53 smoother spinner transition on startup 2021-03-09 22:59:43 -08:00
Shane Smiskol a3556410de Spinner: wait for UI to start (#20279)
* Impose a max rate for updating spinner progress

* fix import

* Show spinner until offroad is started

* no need for time

* Fix ROOT_DIR

* Fix fb include

* fix relative path

* don't touch these files

* Close spinner after all procs have started

* don't touch file

* Move up

* Revert changes to spinner, and only sleep on final progress update

* add this back

* revert time

* test sending 100

* test sending 100

* revert makefile changes

* rm 2nd 100% update

* pass spinner to thread function

* pass ignore list

* Default to None

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-03-09 13:37:11 -08:00
Willem Melching 958e7b0071 manager watchdog, log exit code 2021-03-09 13:11:40 +01:00
Willem Melching a94ba4fb8b 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>
2021-03-08 19:17:46 -08:00
Willem Melching af2a847f06 manager: check if process is running before sending signal 2021-03-08 15:42:09 +01:00
Willem Melching 476558b547 Process config cleanup (#20276)
* add enabled flag

* remove hack

* only prepare when enabled
2021-03-08 12:18:58 +01:00
Adeeb Shihadeh 8541ac8449 also skip ubloxd in sim 2021-03-07 22:14:25 -08:00
Adeeb Shihadeh a9f8fe7dca don't run dmonitoringmodeld in sim 2021-03-07 22:02:08 -08:00
Adeeb Shihadeh 7cfd6b1170 fix manager crash on PC after going offroad 2021-03-07 21:52:20 -08:00
Adeeb Shihadeh 745a4e884a fix uninstall after manager refactor 2021-03-07 21:02:37 -08:00
Willem Melching 5a3b511306 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>
2021-03-05 11:03:23 +01:00