小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
一行代码安装ROS2出现:Failed to read config, exiting
-
RUN Choose Task:[请输入括号内的数字]
请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
[1]:humble(ROS2)
[2]:iron(ROS2)
[3]:rolling(ROS2)
[0]:quit
请输入[]内的数字以选择:1
RUN Choose Task:[请输入括号内的数字]
请选择安装的具体版本(如果不知道怎么选,请选1桌面版):
[1]:humble(ROS2)桌面版
[2]:humble(ROS2)基础版(小)
[0]:quit
请输入[]内的数字以选择:1
Run CMD Task:[sudo apt-cache search aptitude ]
[]apt-cacher - Caching proxy server for Debian/Ubuntu/Devuan software repositor[-]apticron-systemd - Simple tool to mail about pending package updates - system[]aptitude-common - architecture independent files for the aptitude package man[-]aptitude-doc-en - English manual for aptitude, a terminal-based package manag[/]aptitude-doc-es - Spanish manual for aptitude, a terminal-based package manag[]aptitude-doc-fi - Finnish manual for aptitude, a terminal-based package manag[|]aptitude-doc-fr - French manual for aptitude, a terminal-based package manage[-]aptitude-doc-it - Italian manual for aptitude, a terminal-based package manag[/]aptitude-doc-ja - Japanese manual for aptitude, a terminal-based package mana[|]aptitude-doc-ru - Russian manual for aptitude, a terminal-based package manag[|]gbrainy - brain teaser game and trainer to have fun and to keep your brain tr[/]libcwidget-dev - high-level terminal interface library for C++ (development f[-]Result:success end for Debian/UbuntuRun CMD Task:[sudo apt install aptitude -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 42 个软件包未被[-]Result:successRun CMD Task:[sudo apt-cache search aptitude ]
[]apt-cacher - Caching proxy server for Debian/Ubuntu/Devuan software repositor[-]apticron-systemd - Simple tool to mail about pending package updates - system[]aptitude-common - architecture independent files for the aptitude package man[-]aptitude-doc-en - English manual for aptitude, a terminal-based package manag[/]aptitude-doc-es - Spanish manual for aptitude, a terminal-based package manag[]aptitude-doc-fi - Finnish manual for aptitude, a terminal-based package manag[|]aptitude-doc-fr - French manual for aptitude, a terminal-based package manage[-]aptitude-doc-it - Italian manual for aptitude, a terminal-based package manag[/]aptitude-doc-ja - Japanese manual for aptitude, a terminal-based package mana[|]aptitude-doc-ru - Russian manual for aptitude, a terminal-based package manag[|]gbrainy - brain teaser game and trainer to have fun and to keep your brain tr[/]libcwidget-dev - high-level terminal interface library for C++ (development f[-]Result:success end for Debian/UbuntuRun CMD Task:[sudo apt install aptitude -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 42 个软件包未被[-]Result:successRun CMD Task:[sudo apt install ros-humble-desktop -y]
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
ros-humble-desktop 已经是最新版 (0.10.0-1jammy.20231117.222203)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 42 个软件包未被升级。
Run CMD Task:[sudo apt install ros-humble-desktop -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 42 个软件包未被[-]Result:successRun CMD Task:[sudo apt-cache search python3-colcon-common-extensions ]
[]python3-colcon-common-extensions - Meta package aggregating colcon-core and c[-]Result:successRun CMD Task:[sudo apt install python3-colcon-common-extensions -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 42 个软件包未被[-]Result:successRun CMD Task:[sudo apt-cache search python3-argcomplete ]
[-]Result:success for argparse (for Python 3)Run CMD Task:[sudo apt install python3-argcomplete -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 42 个软件包未被[-]Result:successRun CMD Task:[sudo apt-cache search python3-rosdep ]
[]python3-rosdep2 - rosdep package manager abstraction tool for Robot OS (Pytho[-]Result:success anager abstraction tool for ROSRun CMD Task:[sudo apt install python3-rosdep -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 42 个软件包未被[-]Result:successRun CMD Task:[ls /opt/ros/humble/setup.bash]
[-]Result:success欢迎使用一键配置ROS开发环境,本工具由作者小鱼提供
Run CMD Task:[ls /opt/ros/*/setup.bash]
[-]Result:successRun CMD Task:[ls /home/*/.bashrc]
[-]Result:success检测到系统有1个ROS环境,已为你生成启动选择,修改~/.bashrc可关闭
恭喜你,安装成功了,再附赠你机器人学习宝藏网站:鱼香社区:https://fishros.org.cn/forum
Run CMD Task:[ls /opt/ros/humble/setup.bash]
[-]Result:successFailed to read config, exiting
按照B站视频”Ubuntu22安装ROS2和Turtlebot3仿真环境“进行安装,请问最后的报错是什么原因呀?要如何解决呀?本人小白,麻烦了!