mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-04-20 11:51:16 -05:00
Compare commits
2 Commits
be4fbf124d
...
fc2ba5f8d1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc2ba5f8d1 | ||
|
|
77d35949e9 |
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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