mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-04-20 03:41:17 -05:00
revert: fix(anchor): serial reads are now non-blocking
This reverts commit fc2ba5f8d1.
reason: making serail reads non-blocking caused serial data issues
because sometimes it would exit before actually seeing a newline
This commit is contained in:
@@ -123,7 +123,7 @@ class SerialConnector(Connector):
|
||||
self.mcu_name = mcu_name
|
||||
|
||||
# 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=0)
|
||||
self.serial_interface = serial.Serial(self.port, BAUD_RATE, timeout=1)
|
||||
|
||||
def _find_ports(self) -> list[str]:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user