mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 17:30:36 +00:00
fix: anchor enables CAN Relay
This commit is contained in:
@@ -45,6 +45,7 @@ class SerialRelay(Node):
|
||||
#(f"Checking port {port}...")
|
||||
ser.write(b"ping\n")
|
||||
response = ser.read_until("\n")
|
||||
ser.write(b"can_relay_mode,on\n")
|
||||
|
||||
# if pong is in response, then we are talking with the MCU
|
||||
if b"pong" in response:
|
||||
|
||||
Reference in New Issue
Block a user