Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About using the GPS pathfollow template #1194

Open
m20114 opened this issue Aug 2, 2024 · 0 comments
Open

About using the GPS pathfollow template #1194

m20114 opened this issue Aug 2, 2024 · 0 comments

Comments

@m20114
Copy link

m20114 commented Aug 2, 2024

I tried to start autonomous driving on my donkey car using the GPS pathfollow template and got an error. ttyUSB0 recognition was based on this website (https://ubuntuforums.org/showthread.php?t=2259068 ). The error is as follows

using donkey v4.5.1 ... INFO:donkeycar.config:loading config file: /home/ais-3/mycar/config.py INFO:donkeycar.config:loading personal config over-rides from myconfig.py INFO:donkeycar.vehicle:Adding part NoOdom. INFO:donkeycar.parts.serial_port:/dev/ttyUSB0 - USB-Serial Controller Traceback (most recent call last): File "manage.py", line 494, in <module> drive(cfg, use_joystick=args['--js'], camera_type=args['--camera']) File "manage.py", line 164, in drive gps_player = add_gps(V, cfg) File "manage.py", line 460, in add_gps nmea_reader = SerialLineReader(serial_port) File "/home/ais-3/projects/donkeycar/donkeycar/parts/serial_port.py", line 179, in __init__ self._open() File "/home/ais-3/projects/donkeycar/donkeycar/parts/serial_port.py", line 184, in _open self.serial.start().clear() File "/home/ais-3/projects/donkeycar/donkeycar/parts/serial_port.py", line 36, in start self.ser = serial.Serial(self.port, self.baudrate, self.bits, self.parity, self.stop_bits, timeout=self.timeout) File "/home/ais-3/env/lib/python3.6/site-packages/serial/serialutil.py", line 244, in __init__ self.open() File "/home/ais-3/env/lib/python3.6/site-packages/serial/serialposix.py", line 336, in open self._update_dtr_state() File "/home/ais-3/env/lib/python3.6/site-packages/serial/serialposix.py", line 713, in _update_dtr_state fcntl.ioctl(self.fd, TIOCMBIS, TIOCM_DTR_str) OSError: [Errno 5] Input/output error

Please explain how to solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant