mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-04-20 11:51:16 -05:00
fix(anchor): serial reads are now non-blocking
This commit is contained in:
@@ -123,7 +123,7 @@ class SerialConnector(Connector):
|
|||||||
self.mcu_name = mcu_name
|
self.mcu_name = mcu_name
|
||||||
|
|
||||||
# if we fail at this point, it should crash because we've already tested the port
|
# if we fail at this point, it should crash because we've already tested the port
|
||||||
self.serial_interface = serial.Serial(self.port, BAUD_RATE, timeout=1)
|
self.serial_interface = serial.Serial(self.port, BAUD_RATE, timeout=0)
|
||||||
|
|
||||||
def _find_ports(self) -> list[str]:
|
def _find_ports(self) -> list[str]:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user