本文主要参考:https://zhuanlan.zhihu.com/p/392082731
由于Ubuntu20.04 使用的是Python3,将指令中的Python2.7改为Python3即可!!
再参考原作者的过程中也遇到了一些问题,都已在文中标出。
在安装ROS时,很多同学都卡在 sudo rosdep init | rosdep update 两步上。主要原因是因为 www.rawgithubusercontent.com 这个网站被墙。
$ 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.
sudo rosdep init 命令通过科学上网可以解决。但对于 rosdep update 命令找遍网上最流行的方法也收效甚微。
$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
ERROR: error loading sources list:
(&#