Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manager: default driverview to False #23492

Merged
merged 1 commit into from
Jan 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions selfdrive/manager/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class ManagerProcess(ABC):
daemon = False
sigkill = False
persistent = False
driverview = False
proc: Optional[Process] = None
enabled = True
name = ""
Expand Down Expand Up @@ -291,8 +292,7 @@ def ensure_running(procs: ValuesView[ManagerProcess], started: bool, driverview:
p.stop(block=False)
elif p.persistent:
p.start()
elif getattr(p, 'driverview', False) and driverview:
# TODO: why is driverview an argument here? can this be done with the name?
elif p.driverview and driverview:
p.start()
elif started:
p.start()
Expand Down