直接上解决步骤:
1、通过www.IPAddress.com查询https://raw.githubusercontent.com的ip地址
2、打开自己的Unbuntu,打开终端,输入sudo vim /etc/hosts打开文件,更改host文件
3、添加真正的ip和raw.githubusercontent.com的网址
3.1操作步骤:打开之后,键盘键入'o'进入编辑模式,添加内容,添加完毕之后,键盘键入ESC,之后键盘键入:wq之后回车即可
4、重新运行wstool merge -t src https://raw.githubusercontent.com/cartographer-project/cartographer_ros/master/cartographer_ros.rosinstall
wstool merge -t src https://raw.githubusercontent.com/cartographer-project/cartographer_ros/master/cartographer_ros.rosinstall