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