core debug outputs

This commit is contained in:
Tristan McGinnis
2025-02-20 14:16:11 -06:00
parent eb1effd791
commit aa231d43ca

View File

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