ROS安装

Ubuntu16.04安装ROS Kinetic详细过程_^_^妖言惑眾的博客-CSDN博客_ubuntu16.04安装rosicon-default.png?t=N7T8https://blog.csdn.net/weixin_43159148/article/details/83375218

1、ros下载太慢时考虑换为国内源

ROS/Installation/UbuntuMirrors - ROS Wiki

1月8日 官方ros.org太慢,配置中科院ros镜像源 &&关于解决Ubuntu 14.04安装ros提示校验错误解决_Hali_Botebie的博客-CSDN博客

2、软件包有未满足的依赖关系

使用aptitude的命令很容易导致系统崩溃,而 ubuntu 下安装ROS失败的解决方法总结 - 简书 也没有用

好像是执行 sudo apt-get update 时的问题?可以参考 sudo apt-get update错误解决办法 - iBoundary - 博客园

3、执行 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.

解决方案:

打开 /etc/hosts ,在其中添加

151.101.108.133    raw.githubusercontent.com

无网时可参考

https://blog.csdn.net/Frances0905/article/details/119084600

4、执行 rosdep update 时出现如下错误

ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:
	Failed to download target platform data for gbpdistro:
	<urlopen error [Errno 111] Connection refused>

解决方案:

ROS中遇到的一些问题和解决(更新) - 莫回首_love - 博客园

执行 sudo apt-get install python-rosdep

另一解决方法是先下载好各个yaml文件,ros安装改为调用本地已经下载好的文件

5、执行 roscore 时出现如下错误

Command 'roscore' not found, but can be installed with:

sudo apt install python-roslaunch

解决方案:

ROS安装问题: “Command ‘roscore‘ not found, but can be installed with: sudo apt install python-roslaunch“_tom17的博客-CSDN博客

执行 sudo apt-get install ros-melodic-desktop

如下是在Ubuntu20上安装ros2的有效方法

https://blog.csdn.net/shenliu128/article/details/127315280
 

多ROS1使用
https://www.jianshu.com/p/f9791e2aee5a

https://blog.csdn.net/weixin_43667077/article/details/132455740

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值