enable relay mode on core on startup

This commit is contained in:
Tristan McGinnis
2025-03-29 11:37:30 -05:00
parent 436dc1313a
commit f11b9123ea
2 changed files with 3 additions and 1 deletions

View File

@@ -59,6 +59,8 @@ class SerialRelay(Node):
if b"pong" in response:
self.port = port
self.get_logger().info(f"Found MCU at {self.port}!")
self.get_logger().info(f"Enabling Relay Mode")
ser.write(b"can_relay_mode,on\n")
break
except:
pass