remove debug prints

This commit is contained in:
Tristan McGinnis
2025-02-20 14:53:44 -06:00
parent fe5ed1a071
commit d000a2007a
2 changed files with 2 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ class SerialRelay(Node):
def send_cmd(self, msg): def send_cmd(self, msg):
message = msg.data message = msg.data
self.get_logger().info(f"Sending command to MCU: {msg}") #self.get_logger().info(f"Sending command to MCU: {msg}")
self.ser.write(bytes(message, "utf8")) self.ser.write(bytes(message, "utf8"))
@staticmethod @staticmethod

View File

@@ -174,10 +174,9 @@ class SerialRelay(Node):
self.send_cmd(command) self.send_cmd(command)
#print(f"[Sys] Relaying: {command}") #print(f"[Sys] Relaying: {command}")
def send_cmd(self, msg): def send_cmd(self, msg):
if self.launch_mode == 'anchor': if self.launch_mode == 'anchor':
self.get_logger().info(f"[Core to Anchor Relay] {msg}") #self.get_logger().info(f"[Core to Anchor Relay] {msg}")
output = String()#Convert to std_msg string output = String()#Convert to std_msg string
output.data = msg output.data = msg
self.anchor_pub.publish(output) self.anchor_pub.publish(output)