其他分享
首页 > 其他分享> > 学习slam遇到的问题 之 ROS安装

学习slam遇到的问题 之 ROS安装

作者:互联网

2021.10.2  ROS安装

cn/kinetic/Installation/Ubuntu - ROS Wiki

1.4

sudo apt-get install ros-kinetic-desktop-full

ERR:

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1


原因:某个映像文件太大,root空间不够

解决:

1.df -hl  检查哪个空间大

2.sudo mount /dev/sd?? /root/  扩容root空间

3.重新执行安装命令

1.5

sudo rosdep init

ERR: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.

原因:大概是没有访问权限,加上网址IP不对

解决:手动建立如下目录  /etc/ros/rosdeb/sources.list.d;修改hosts文件,加入可用的IP。参考:

rosdep init ROS安装问题解决方案 - 古月居cannot download default sources list from: https://raw.githubusercontent.com/ros/rosdistro/master/ro_张余恒的博客-CSDN博客rosdep init ROS安装问题解决方案 - 古月居

rosdep update

ERR:

unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml]:

原因:墙

解决:加了代理 GitHub Proxy 代理加速 参考:

解决ROS系统 rosdep update超时问题的新方法_leida_wt的博客-CSDN博客_rosdep update 超时

标签:ROS,list,sources,init,slam,rosdep,ros,安装
来源: https://blog.csdn.net/atyzy/article/details/120583133