more testing

This commit is contained in:
Tristan McGinnis
2025-02-20 14:27:57 -06:00
parent 86ad80f8db
commit 251c877083

View File

@@ -178,7 +178,7 @@ class SerialRelay(Node):
def send_cmd(self, msg):
if self.launch_mode == 'anchor':
self.get_logger().info(f"[Core to Anchor Relay] {msg}")
self.anchor_pub.publish(msg.data)
self.anchor_pub.publish(msg)
elif self.launch_mode == 'core':
self.get_logger().info(f"[Core to MCU] {msg}")
self.ser.write(bytes(msg, "utf8"))