ROS学习笔记之——gazebo环境下ROS的仿真

82 篇文章 117 订阅

通过之前的学习笔记,可以知道,gazebo跟ROS是相互独立的环境。而gazebo也可以看作是一个硬件,然后要在gazebo的模型中插入相应的ROS插件才可以跟ROS进行通信,才可以实现基于gazebo的ROS仿真。

Gazebo提供了一组ROS API,允许用户修改和获取有关模拟世界各个方面的信息。

 

Terminologies(术语)

the pose and twist of a rigid body object is referred to as its '''state''. An object also has intrinsic (内在的) '''properties''', such as mass and friction coefficients. In Gazebo, a '''body''' refers to a rigid body, synonymous to '''link''' in the URDF context. A Gazebo '''model''' is a conglomeration of bodies connected by '''joints'''(关节).

 

About the gazebo_ros_api_plugin

The gazebo_ros_api_plugin plugin, located with the gazebo_ros package, initializes (初始化) a ROS node called "gazebo". It integrates the ROS callback scheduler(回调调度程序) (message passing) with Gazebo's internal scheduler (内部调度程序) to provide the ROS interfaces described below. This ROS API enables a user to manipulate(操纵) the properties of the simulation environment over ROS, as well as spawn (产卵) and introspect  (反省)on the state of models in the environment.

This plugin is only loaded with gzserver.

 

 

 

 

 

 

 

 

参考资料

http://gazebosim.org/tutorials?tut=ros_comm&cat=connect_ros

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值