• 欢迎访问开心洋葱网站,在线教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入开心洋葱 QQ群
  • 为方便开心洋葱网用户,开心洋葱官网已经开启复制功能!
  • 欢迎访问开心洋葱网站,手机也能访问哦~欢迎加入开心洋葱多维思维学习平台 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏开心洋葱吧~~~~~~~~~~~~~!
  • 由于近期流量激增,小站的ECS没能经的起亲们的访问,本站依然没有盈利,如果各位看如果觉着文字不错,还请看官给小站打个赏~~~~~~~~~~~~~!

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

人工智能 zhangrelay 2701次浏览 0个评论

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://blog.csdn.net/ZhangRelay/article/details/98627866
  2. 修行 Taoism:https://blog.csdn.net/ZhangRelay/article/details/99838651
  3. 仿真 Simulation:https://zhangrelay.blog.csdn.net/article/details/99932959
  4. 实践 Practice:https://blog.csdn.net/ZhangRelay/article/details/99937033

  只是为了方便大家了解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


开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明机器人操作系统二(ROS2)- 仿真 Simulation
喜欢 (0)

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

加载中……