This commit is contained in:
Remi Cadene 2024-07-11 17:16:24 +02:00
parent 73692e7459
commit 17bc32c1e3
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ def find_port():
if len(ports_diff) == 1: if len(ports_diff) == 1:
port = ports_diff[0] port = ports_diff[0]
print(f"The port of this DynamixelMotorsBus is {port}.") print(f"The port of this DynamixelMotorsBus is '{port}'")
print("Reconnect the usb cable.") print("Reconnect the usb cable.")
elif len(ports_diff) == 0: elif len(ports_diff) == 0:
raise OSError(f"Could not detect the port. No difference was found ({ports_diff}).") raise OSError(f"Could not detect the port. No difference was found ({ports_diff}).")