Update anchor_node.py

anchor enables relay mode
This commit is contained in:
Tristan McGinnis
2025-05-10 14:20:22 -05:00
committed by GitHub
parent 3c1186c336
commit 73f616a198

View File

@@ -50,6 +50,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