Ubuntu1804安装ROS(melodic版本)
ROS入门教程-安装并配置ROS环境(melodic版本)
说明
- 本教程详细描述了ROS的安装与环境配置。
- 此为 Ubuntu18.04 + melodic安装说明
官方安装ROS说明
- http://wiki.ros.org/Installation/Ubuntu?distro=melodic
ubuntu18.04版本
- ubuntu18.04版本镜像官方下载连接:Ubuntu系统下载 | Ubuntu
ROS的melodic版本安装说明
1、安装源
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
或来自中国的源:
sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.ustc.edu.cn/ros/ubuntu/ $DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'
2、设置key
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
3、更新
sudo apt-get update
4、安装,这里介绍Desktop-Full安装: (Recommended) : ROS, rqt, rviz, robot-generic libraries, 2D/3D simulators, navigation and 2D/3D perception 和 安装rosinstall,便利的工具
sudo apt-get install ros-melodic-desktop-full
sudo apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential
5、解决依赖
sudo rosdep init
rosdep update
6、环境设置
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc
7、测试安装,运行roscore
roscore
- 若正常出现以下信息,说明已经成功安装
.. logging to /home/ubuntu/.ros/log/cb38e680-dee2-11ea-bae1-70665563e003/roslaunch-nx-1205.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.started roslaunch server http://nx:36773/
ros_comm version 1.14.7SUMMARY
========PARAMETERS* /rosdistro: melodic* /rosversion: 1.14.7NODESauto-starting new master
process[master]: started with pid [1215]
ROS_MASTER_URI=http://nx:11311/setting /run_id to cb38e680-dee2-11ea-bae1-70665563e003
process[rosout-1]: started with pid [1228]
started core service [/rosout]
纠错,疑问,交流: 请进入讨论区或 点击加入Q群
Ubuntu1804安装ROS(melodic版本)相关推荐
- Ubuntu 20.04安装Ros Noetic及Ubuntu 18.04安装ROS Melodic(两版本详细填坑)
Ubuntu 20.04安装Ros Noetic及18.04安装ROS Melodic 表1-1 ROS的历史版本 1. 设置安装源 2. 添加秘钥 3. 更新列表 4. 开始安装 5. 配置ROS环 ...
- Ubuntu18.04安装ROS Melodic(解决网络原因,先将所需压缩包下载到本地,然后rosdep update)
Ubuntu18.04安装ROS Melodic(解决网络原因,先将所需压缩包下载到本地,然后rosdep update) 一.ROS介绍 机器人操作系统(Robot Operating System ...
- 树莓派4B-buster安装ROS Melodic流程
安装ROS Melodic 树莓派4B配置: RAM: 2G SD卡: 32G[装了opencv等其他杂七杂八的16g可能有点不够] 系统: Buster[2020-02-13-raspbian-b ...
- TX2安装ROS Melodic
TX2安装ROS Melodic 首先 TX2上已经完成刷机安装Ubuntu18,可以参考博文 https://blog.csdn.net/wgqabc/article/details/1126988 ...
- Ubuntu18.04安装ROS Melodic(详细,亲测安装完成,有清晰的截图步骤)
这也是我在Ubuntu里面安装ROS的第N次,以前每次安装过程都忘记总结了,导致每次安装ROS都浪费了很多的时间用来解决各种问题.为了避免自己以后出现问题需要再安装,所以写这篇博客总结一下,这次是我安 ...
- Ubuntu18安装ROS melodic
在不同电脑上安装了很多次ros,有在执行rosdep init报错的,有在执行rosdep update报错的,前者报错的可能是源的问题或者是密钥不是最新的,后者报错是从github上下载失败,可能是 ...
- Ubuntu18.04安装ROS Melodic+turtlebot3仿真配置
先说一下基本情况,因为本科毕业设计,需要用到Ubuntu,ROS,还有Turtlebot3,所以自己研究了一下.在安装ROS和使用Turtlebot3的过程中遇到了很多问题,但幸好最终都解决了.所以总 ...
- 在Ubuntu 18.04 LTS安装ROS Melodic版机器人操作系统(2019年10月更新MoveIt! 1.0 ROS 2.0 Dashing)
ROS Melodic版本在2018年5月23日推出正式版,这是ROS第三款长期支持版本,前2版LTS分别为:indigo(14.04):kinetic(16.04).此版本有windows版已经推出 ...
- Ubuntu 18.04快捷安装ROS Melodic及rosdep update time out的问题解决
1. ROS快捷安装 以下安装指令汇总针对Ubuntu18.04的ROS Melodic版本: 强烈建议复制以下指令到新建的xxx.sh文件中,保存后给xxx.sh权限,然后执行脚本一路输入y等候安装 ...
- Docker内运行ROS(melodic版本)以及使用Rviz
Docker内运行ROS(melodic版本)以及使用Rviz 写在前文 Docker的安装以及介绍本文就不再累述了,安装Docker的版本任意,但是要注意的一点是你是ARM板子还是x86的板子,一般 ...
最新文章
- Hyperledger Fabric 核心模块(7)Fabric-ca-client
- C# 利用Newtonsoft.Json将DataTable进行JSON序列化
- 监督学习 | ID3 C4.5 决策树原理
- SAGAN生成更为精细的人脸图像(tensorflow实现)
- jquery:字符串转json对象,json对象转字符串
- 可调用对象、std::function、std::bind
- 2022年全球市场光学软件总体规模、主要企业、主要地区、产品和应用细分研究报告
- Java实现:冒泡排序
- 摄影焦距和物距的关系_摄影的焦距是多少?
- 微软Windows 10 MSDN官方ISO镜像正式版下载
- 怎么在计算机中搜索可移动硬盘,电脑如何识别移动硬盘
- python百度识别花草_用python代码实现调用百度的免费植物识别接口
- [h5]一个基于HTML5实现的视频播放器代码详解
- 20190729 现代田园女权
- Python三国华容道程序-广度优先
- 视频教程-支付宝生活缴费商业项目标准版-Java
- 重大疾病保险都包含哪些疾病?
- Xilinx-7Series-FPGA高速收发器使用学习—RX接收端介绍
- 【稀饭】react native 实战系列教程之自定义原生模块
- wifipumpkin3无线钓鱼实验指导