ROS-melodic 安装及其问题解决
安装
- 安装ubuntu18.04 LTS
- 参照官网安装ROS
问题
sudo rosdep init 出问题
- sudo: rosdep: command not found
安装rosdep工具:
sudo apt install python-rosdep - ERROR: cannot download default sources list from:
- 对于可以连接无线的设备直接连接手机热点;
- 台式电脑需要无线网卡,然后连接手机热点;
- 连接上热点之后,需要改写以下/etc/hosts文件,
利用网站查询raw.githubusercontent.com网址的IP。
然后:
sudo gedit /etc/hosts
# 在文末添加 (查询到网址的IP)raw.githubusercontent.com
185.199.108.133 raw.githubusercontent.com # 例子
sudo rosdep init
rosdep update
还未解决的话,在图形界面里更换源,select best server