sudo apt-get install ros-melodic-desktop-full
时出现错误:
ERROR:ros-melodic-perception依赖ros-melodic-perception.pcl
Solution:不能按照提示安装依赖项,否则会无线套娃,用下面的命令:
sudo aptitude install ros-melodic-perception
Question2:运行
sudo rosdep init
时出现错误:找不到rosdep命令
Solution:运行:
sudo apt-get install python-rosdep
Question3:执行
sudo rosdep init
时,链接不上raw.githubusercontent.com网站,没法下载20-default.list
Solution:可以去到ipaddress.com 查找 raw.githubsuercontent对应的ip地址,然后用
sudo gedit /etc/hosts
添加一个此网站对应的ip地址,这个ip地址在一直变化
Question4:命令
rosdep update
总是出现连不上raw.githubusercontent.com的问题,这里主要是因为境外服务器的缘故,在国内不是那么容易就能快速访问,导致这个命令无法执行成功,解决办法是参考如下博客,借用代理服务器https://ghproxy.com/进行加速访问。
rosdep update 超时失败2021最新解决方法_Kenny_GuanHua的博客-优快云博客_rosdep update 超时
折腾一上午,成功运行ROS ,开始浪漫的ROS之旅!!!