mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 09:20:40 +00:00
fix formatting for anchor print statements in arm and core
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user