fix up prints

This commit is contained in:
Tristan McGinnis
2025-02-20 23:20:22 -06:00
parent a754a270c1
commit 2d03a45e40
2 changed files with 3 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ class SerialRelay(Node):
try:
output = str(self.ser.readline(), "utf8")
if output:
self.get_logger().info(f"[MCU] {output}", end="")
self.get_logger().info(f"[MCU] {output}")
msg = String()
msg.data = output
self.debug_pub.publish(msg)
@@ -152,7 +152,7 @@ class SerialRelay(Node):
self.ser.write(bytes(msg, "utf8"))
def anchor_feedback(self, msg):
self.get_logger().info(f"[Arm Anchor] {msg.data}", end="")
self.get_logger().info(f"[Arm Anchor] {msg.data}")
#self.send_cmd(msg.data)

View File

@@ -94,7 +94,7 @@ class SerialRelay(Node):
if output:
# All output over debug temporarily
print(f"[MCU] {output}", end="")
print(f"[MCU] {output}")
msg = String()
msg.data = output
self.debug_pub.publish(msg)