< >
Home » ROS2与Turtlebot3仿真 » ros2与turtlebot3仿真教程-安装turtlebot3

ros2与turtlebot3仿真教程-安装turtlebot3

说明:

  • 介绍如何安装turtlebot3仿真环境

步骤:

  • 使用rcm安装turtlebot3仿真
# 安装rcm
curl https://www.ncnynl.com/rcm.sh | bash -
# 安装turtlebot3 gazebo
rcm -s install_tb3_gazebo_source 
  • 效果图:
+---------------------------------------------------+
|                                                   |
|   =============================================   |
|                                                   |
|         Welcome to ROS Commands Manager CLI       |
|                                                   |
|   =============================================   |
|   Author:ncnynl                                   |
|   Email:1043931@qq.com                            |
|   Website:https://ncnynl.com                      |
|   Date:2022-11-18                                 |
|   QQ Qun B:926779095                              |
|   QQ Qun C:937347681                              |
|   QQ Qun D:562093920                              |
+---------------------------------------------------+

#####################################################
########Alternative scripts 
#####################################################
ros2_tb3_gazebo:
  ID:342 - install_tb3_gazebo_source.sh
  ------------------------------------------Install turtlebot3 gazebo source
  ------------------------------------------

└ Whether to execute the script? [Y/n]

  • 输入y即可自动安装
  • 安装后,新开终端即可使用turtlebot3仿真
  • 验证安装是否成功
ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
  • 效果图:

请输入图片描述

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: ros2与turtlebot3仿真教程