最新消息:

Turtlebot3-ROS2入门教程-PC安装

ROS2/二代机器人系统 少儿编程 2036浏览 0评论
Turtlebot3ROS2教程

Turtlebot3-ROS2入门教程-PC安装

说明:

  • 介绍如何进行Turtlebot3-ROS2入门教程中的PC安装

安装步骤:

  • 安装Ubuntu Bionic 18.04.1 LTS 操作系统

    • 官方镜像下载链接

    • 使用UltraISO(软碟通)制作U盘启动盘完整教程

  • 安装ROS2 Bouncy 机器人操作系统

    • 官方安装教程(apt安装)
  • 安装Turtlebot3-ROS2相关应用包

$ mkdir -p ~/turtlebot3_ws/src
$ cd ~/turtlebot3_ws/src
$ git clone -b ros2 https://github.com/ROBOTIS-GIT/turtlebot3.git
$ git clone -b ros2 https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git
$ git clone https://github.com/ros2/pcl_conversions.git
$ sudo apt install libpcl-conversions-dev libpcl-dev
$ cd ~/turtlebot3_ws && colcon build

$ vim ~/.bashrc
## 在末尾添加以下内容
source ~/turtlebot3_ws/install/local_setup.bash
## 添加后source一下bashrc文件
$ source ~/.bashrc

## 安装 ntpdate工具
$ sudo apt-get install ntpdate
 

您必须 登录 才能发表评论!