错误;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.
解决办法:
报错原因是GitHub的raw.githubusercontent.com无法连接
需要解决GitHub的raw.githubusercontent.com无法连接问题
通过IPAddress.com首页,输入raw.githubusercontent.com查询到真实IP地址
修改hosts Ubuntu,
sudo vi /etc/hosts
添加以下内容保存即可
199.232.28.133 raw.githubusercontent.com
转(http://qjzd.net:3000/topic/5e48cc33dcf06d6a181ffb81)
然后输入sudo rosdep init就可以了