fix formatting for anchor print statements in arm and core

This commit is contained in:
Tristan McGinnis
2025-04-19 11:46:36 -05:00
committed by David
parent 3985c11ae2
commit dde9d61a33
2 changed files with 2 additions and 2 deletions

View File

@@ -273,7 +273,7 @@ class SerialRelay(Node):
output.data = msg
self.anchor_pub.publish(output)
elif self.launch_mode == 'arm': #if in standalone mode, send to MCU directly
self.get_logger().info(f"[Arm to MCU] {msg}")
self.get_logger().info(f"[Arm to MCU] {msg.data}")
self.ser.write(bytes(msg, "utf8"))
def anchor_feedback(self, msg: String):

View File

@@ -191,7 +191,7 @@ class SerialRelay(Node):
output.data = msg
self.anchor_pub.publish(output)
elif self.launch_mode == 'core':
self.get_logger().info(f"[Core to MCU] {msg}")
self.get_logger().info(f"[Core to MCU] {msg.data}")
self.ser.write(bytes(msg, "utf8"))
def anchor_feedback(self, msg: String):