1、ros下载太慢时考虑换为国内源
ROS/Installation/UbuntuMirrors - ROS Wiki
1月8日 官方ros.org太慢,配置中科院ros镜像源 &&关于解决Ubuntu 14.04安装ros提示校验错误解决_Hali_Botebie的博客-优快云博客
2、软件包有未满足的依赖关系
使用aptitude的命令很容易导致系统崩溃,而 ubuntu 下安装ROS失败的解决方法总结 - 简书 也没有用
好像是执行 sudo apt-get update 时的问题?可以参考 sudo apt-get update错误解决办法 - iBoundary - 博客园
3、执行 sudo rosdep init 时出现如下错误
ERROR: cannot download default sources list from:
https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
Website may be down.
解决方案:
打开 /etc/hosts ,在其中添加
151.101.108.133 raw.githubusercontent.com
无网时可参考
https://blog.youkuaiyun.com/Frances0905/article/details/119084600
4、执行 rosdep update 时出现如下错误
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:
Failed to download target platform data for gbpdistro:
<urlopen error [Errno 111] Connection refused>
解决方案:
ROS中遇到的一些问题和解决(更新) - 莫回首_love - 博客园
执行 sudo apt-get install python-rosdep
另一解决方法是先下载好各个yaml文件,ros安装改为调用本地已经下载好的文件
5、执行 roscore 时出现如下错误
Command 'roscore' not found, but can be installed with:
sudo apt install python-roslaunch
解决方案:
执行 sudo apt-get install ros-melodic-desktop
如下是在Ubuntu20上安装ros2的有效方法
https://blog.youkuaiyun.com/shenliu128/article/details/127315280
多ROS1使用
https://www.jianshu.com/p/f9791e2aee5a
https://blog.youkuaiyun.com/weixin_43667077/article/details/132455740