Update controlsd.py

This commit is contained in:
1okko 2024-10-22 07:24:13 +08:00 committed by GitHub
parent ca89f67876
commit edd47b9f1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -337,11 +337,11 @@ class Controls:
not_running = {p.name for p in self.sm['managerState'].processes if not p.running and p.shouldBeRunning} not_running = {p.name for p in self.sm['managerState'].processes if not p.running and p.shouldBeRunning}
if self.sm.recv_frame['managerState'] and (not_running - IGNORE_PROCESSES): if self.sm.recv_frame['managerState'] and (not_running - IGNORE_PROCESSES):
self.events.add(EventName.processNotRunning) pass#self.events.add(EventName.processNotRunning)
self.process_not_running = True pass#self.process_not_running = True
if not_running != self.not_running_prev: if not_running != self.not_running_prev:
cloudlog.event("process_not_running", not_running=not_running, error=True) pass#cloudlog.event("process_not_running", not_running=not_running, error=True)
self.not_running_prev = not_running pass#self.not_running_prev = not_running
else: else:
if not SIMULATION and not self.rk.lagging: if not SIMULATION and not self.rk.lagging:
if not self.sm.all_alive(self.camera_packets): if not self.sm.all_alive(self.camera_packets):