style(perception): format streaming lifecycle guards

This commit is contained in:
DCCONSTRUCTIONS
2026-09-02 20:43:31 +03:00
parent 35b6cd9e9e
commit 093df8b38f
2 changed files with 3 additions and 4 deletions
@@ -138,7 +138,8 @@ class PilotController:
try:
if getattr(args, "telemetry_snapshot", None):
self.telemetry = RuntimeTelemetryPublisher(
self.runtime, Path(args.telemetry_snapshot),
self.runtime,
Path(args.telemetry_snapshot),
"K1 DDRNet + RF-DETR + LiDAR + TGS",
)
if control_config:
+1 -3
View File
@@ -301,9 +301,7 @@ class StreamingIngress:
with suppress(RuntimeError): # Already replaced, stopping, or fenced.
self.runtime.pause_input(
self.input_epoch,
"input-disconnected"
if isinstance(exc, InputInterrupted)
else "source-gap",
"input-disconnected" if isinstance(exc, InputInterrupted) else "source-gap",
)
elif self.opened:
self.runtime.mailbox.finish(self.error)