mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 09:20:40 +00:00
core debug outputs
This commit is contained in:
@@ -176,8 +176,10 @@ class SerialRelay(Node):
|
||||
|
||||
def send_cmd(self, cmd):
|
||||
if self.launch_mode == 'anchor':
|
||||
self.get_logger().info(f"[Core to Anchor Relay] {cmd}")
|
||||
self.anchor_pub.publish(cmd)
|
||||
elif self.launch_mode == 'core':
|
||||
self.get_logger().info(f"[Core to MCU] {cmd}")
|
||||
self.ser.write(bytes(cmd, "utf8"))
|
||||
|
||||
def anchor_feedback(self, msg):
|
||||
|
||||
Reference in New Issue
Block a user