mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 09:20:40 +00:00
enable relay mode on core on startup
This commit is contained in:
@@ -59,6 +59,8 @@ class SerialRelay(Node):
|
||||
if b"pong" in response:
|
||||
self.port = port
|
||||
self.get_logger().info(f"Found MCU at {self.port}!")
|
||||
self.get_logger().info(f"Enabling Relay Mode")
|
||||
ser.write(b"can_relay_mode,on\n")
|
||||
break
|
||||
except:
|
||||
pass
|
||||
|
||||
Submodule src/ros2_interfaces_pkg updated: ca65155cd7...d2bdbedb26
Reference in New Issue
Block a user