From 6788cd7f1b542f835b896d44382aa216923f6873 Mon Sep 17 00:00:00 2001 From: April Date: Wed, 2 Nov 2022 22:47:23 -0700 Subject: [PATCH] Add mosaic/satrad check for UDP commands --- radar/TWCRadarCollector.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/radar/TWCRadarCollector.py b/radar/TWCRadarCollector.py index 65060c7..43e80ce 100644 --- a/radar/TWCRadarCollector.py +++ b/radar/TWCRadarCollector.py @@ -93,6 +93,10 @@ async def collect(radarType: str): commands = [] for i in range(0, len(frames)): - commands.append( '' ) + if radarType == "radarmosaic": + commands.append( '' ) + + if radarType == "satrad": + commands.append( '' ) bit.sendFile([frames[i]], [commands[i]], 1, 0)