2 Commits

Author SHA1 Message Date
ryleu
fc2ba5f8d1 fix(anchor): serial reads are now non-blocking 2026-04-13 19:59:07 -05:00
ryleu
77d35949e9 docs(reset-repo): script says it works in any repo now 2026-04-13 19:57:04 -05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
repo_root="$(git rev-parse --show-toplevel)" repo_root="$(git rev-parse --show-toplevel)"
if [[ -z $repo_root ]]; then if [[ -z $repo_root ]]; then
echo "script must be run from within the rover-ros2 repo" >&2 echo "script must be run from within a git repo" >&2
exit 1 exit 1
fi fi

View File

@@ -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]:
""" """