紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
话题订阅代码无法上传到控制板上
-
- 2.5话题订阅控制LED
代码编译成功后上传控制板报错,请问哪位大佬知道该如何解决```
code_text
Uploading .pio/build/featheresp32/firmware.bin esptool.py v4.2.1 Serial port /dev/ttyUSB0 Connecting...... Traceback (most recent call last): File "/home/rjh/.platformio/packages/tool-esptoolpy/esptool.py", line 34, in <module> esptool._main() File "/home/rjh/.platformio/packages/tool-esptoolpy/esptool/__init__.py", line 1004, in _main main() File "/home/rjh/.platformio/packages/tool-esptoolpy/esptool/__init__.py", line 646, in main esp = esp or get_default_connected_device( File "/home/rjh/.platformio/packages/tool-esptoolpy/esptool/__init__.py", line 895, in get_default_connected_device _esp.connect(before, connect_attempts) File "/home/rjh/.platformio/packages/tool-esptoolpy/esptool/loader.py", line 631, in connect last_error = self._connect_attempt( File "/home/rjh/.platformio/packages/tool-esptoolpy/esptool/loader.py", line 572, in _connect_attempt self.sync() File "/home/rjh/.platformio/packages/tool-esptoolpy/esptool/loader.py", line 435, in sync val, _ = self.command( File "/home/rjh/.platformio/packages/tool-esptoolpy/esptool/loader.py", line 375, in command p = self.read() File "/home/rjh/.platformio/packages/tool-esptoolpy/esptool/loader.py", line 307, in read return next(self._slip_reader) File "/home/rjh/.platformio/packages/tool-esptoolpy/esptool/loader.py", line 1402, in slip_reader read_bytes = port.read(1 if waiting == 0 else waiting) File "/home/rjh/.platformio/penv/lib/python3.10/site-packages/serial/serialposix.py", line 595, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) *** [upload] Error 1 ==================================================== [FAILED] Took 3.47 seconds ==================================================== * 终端进程“platformio 'run', '--target', 'upload'”已终止,退出代码: 1。
- 2.5话题订阅控制LED
-
@361088484
device reports readiness to read but returned no data (device disconnected or multiple access on port?)
应该是串口没连上 -
启动agent的时候占用了ttyUSB0
docker stop 结束进程就可以upload了