This commit is contained in:
Philipp Wu 2024-04-04 16:31:30 -07:00
parent 7001842e7a
commit 23892c535d
5 changed files with 12 additions and 13 deletions

View file

@ -106,8 +106,7 @@ def main(args):
if args.agent == "gello":
gello_port = args.gello_port
if gello_port is None:
# usb_ports = glob.glob("/dev/serial/by-id/*")
usb_ports = glob.glob("/dev/cu.usbserial*")
usb_ports = glob.glob("/dev/serial/by-id/*")
print(f"Found {len(usb_ports)} ports")
if len(usb_ports) > 0:
gello_port = usb_ports[0]