前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >机器人操作系统二(ROS2)- 仿真 Simulation

机器人操作系统二(ROS2)- 仿真 Simulation

作者头像
zhangrelay
发布2019-08-29 11:04:34
9790
发布2019-08-29 11:04:34
举报

ROS2的相关课程第一次开设的时间是在2017年的“智能机器人技术综合实训课程说明”(2017-2018-1学期)。当时以一个专题的形式进行简要介绍,2018年扩展了安装基础导航等内容(2018-2019-1学期)。The ROS2 course was first held in 2017, "Instructions for Integrated Robotics Training Courses" (2017-2018-1 semester). At that time, a brief introduction was made in the form of a topic. In 2018, the installation, foundation, navigation and other contents were expanded (2018-2019-1 semester).

本学期(2019-2020-1)是ROS2课程第三次迭代更新。课程重心由ROS1转向ROS2。在介绍讲解ROS2的同时,复习回顾ROS1,毕竟没有必要学习太多必将淘汰的技术和工具,时间成本过高。This semester (2019-2020-1) is the third iteration of the ROS2 course. The focus of the course shifted from ROS1 to ROS2. While introducing ROS2, reviewing ROS1, after all, there is no need to learn too many technologies and tools that will be eliminated, and the time cost is too high.

机器人操作系统二会有十分详细的教程,随课程同步更新,在开始前,准备了四部预告篇,分别为:ROS2 will have a very detailed tutorial, which will be updated synchronously with the course. Before the start, four pre-posted articles are prepared, namely:

  1. 启程 Departure:https://cloud.tencent.com/developer/article/1487848
  2. 修行 Taoism:https://cloud.tencent.com/developer/article/1495038
  3. 仿真 Simulation:https://zhangrelay.blog.csdn.net/article/details/99932959
  4. 实践 Practice:https://cloud.tencent.com/developer/article/1495020

只是为了方便大家了解ROS2的全貌,觉得不合适就跳过,觉得合适就继续。(本校学生必修


ROS2和ROS1使用最多的三维仿真环境是Gazebo,推荐版本号为9+。可视化工具为rviz2。第三方仿真环境通常有Webots和V-Rep。The most used 3D simulation environment for ROS2 and ROS1 is Gazebo, the recommended version is 9+. The visualization tool is rviz2. Third-party simulation environments are usually Webots and V-Rep.

当然,学习ROS免不了试一下turtlesim(二维环境),具体参考“ros2之turtlesim”。Of course, learning ROS is inevitable to try turtlesim(2D). Refer to "turtlesim of ros2" for details.

turtlesim 小乌龟仿真

terminal


另一个有趣的例子就是turtlebot3啦。Another interesting example is turtlebot3.

export TURTLEBOT3_MODEL=burger

ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py

这里注意launch文件的规则,ROS2与ROS1差别较大,简单一点的例子可以参考turtlesim习题。

turtlebot3 gazebo

terminal


本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019年08月21日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
腾讯云小微
腾讯云小微,是一套腾讯云的智能服务系统,也是一个智能服务开放平台,接入小微的硬件可以快速具备听觉和视觉感知能力,帮助智能硬件厂商实现语音人机互动和音视频服务能力。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档