[FishBot教程] 9.0.3. 主控板固件烧录与配置
-
@13768252287 hunble
-
@小鱼 重启了没有效果
-
@13768252287 1.是否退出conda
-
尝试指令 echo $DISPLAY 看看结果
-
测试指令:xhost + && sudo docker run -it --rm --privileged -v /dev:/dev -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix:0 fishros2/fishbot-tool:v1.0.0.20230522 python3 main.py
在 提问前必看!一定要看!必须看一下! 中说:
尽量一句话说完,不要把社区当微信聊天一样用,每一个回复都尽量提供更多的的信息。
-
-
@小鱼 ``执行了还是报错
export ROS_DISTRO=humbleconda已退出,环境变量也刷新了
xhost + && sudo docker run -it --rm --privileged -v /dev:/dev -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY fishros2/fishbot-tool:v1.0.0.20230108 python3 main.py
access control disabled, clients can connect from any host
qt.qpa.xcb: could not connect to display unix:1
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: wayland-egl, eglfs, xcb, vnc, vkkhrdisplay, minimalegl, wayland, minimal, linuxfb, offscreen.
-
@13768252287 第二个指令输出的结果和第三个指令的结果呢
-
vm虚拟机烧录出现2023-10-26 14:45:32 > [错误]读取到配置项失败{'error': '串口打开异常,请检查设备是否被占用'}
2023-10-26 14:46:02 > [错误]读取到配置项失败{'error': '串口打开异常,请检查设备是否被占用'} -
-
@1467427631 请问您之前识别不到ttyUSB后是怎么解决的呢
-
@1041632611 最有可能是虚拟机造成的问题,另外ch340驱动系统自带,无需额外安装。
可以尝试手动编译运行配置助手:源码使用
首先克隆代码到本地,接着安装 PyQt6,PySide6,pyserial,esptool
git clone http://github.fishros.org/https://github.com/fishros/fishbot_tool.git sudo apt install python3-pip sudo pip3 install PyQt6 PySide6 pyserial esptool -i https://pypi.tuna.tsinghua.edu.cn/simple
接着执行
cd fishbot_tool/fishbot_tool/ sudo DISPLAY=unix$DISPLAY python3 main.py
-
@小鱼 您好,我打开配置助手也是找不到ttyUSB,然后您这个github仓库似乎无法访问
-
@1041632611 抱歉搞错了地址,你可以在 Jetson上使用源码来跨平台,git clone http://github.fishros.org/https://github.com/fishros/fishbot_tool.git
-
@小鱼 好的我尝试一下
-
@小鱼 您好,我最终解决办法是更换了VMware版本,我原本VM版本为17,ttyUSB无法正常链接,更换为VM后重新安装Ubuntu22系统成功识别到了ttyUSB0。
-
@1041632611 更换为VM16后
-
此回复已被删除! -
-
@1160185845 右上角直接搜 bind error
-
@小鱼 !
大佬,想问一下,为啥就这两个
-
@2944536482 agent没有连接上
-
@小鱼 鱼哥 到启动服务这一步 一直在running 用的是寝室wifi ip也能ping通 22.04humble版本 该如何解决?求教