nav_msgs/OccupancyGrid Message的定义

nav_msgs/OccupancyGrid Message

# This represents a 2-D grid map, in which each cell represents the probability of occupancy.

  • std_msgs/Header header
    # Standard metadata for higher-level stamped data types. This is generally used to communicate timestamped data in a particular coordinate frame.
# sequence ID: consecutively increasing ID 
uint32 seq

#Two-integer timestamp that is expressed as:
# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')
# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')
# time-handling sugar is provided by the client library
time stamp

#Frame this data is associated with
string frame_id
  • nav_msgs/MapMetaData info
    # MetaData for the map
    # This hold basic information about the characterists of the OccupancyGrid
# The time at which the map was loaded
time map_load_time

# The map resolution [m/cell]
float32 resolution

# Map width [cells]
uint32 width

# Map height [cells]
uint32 height 

# The origin of the map [m, m, rad]. This is the real-world pose of the cell (0,0) in the map.
geometry_msgs/Pose origin  

# A representation of pose in free space, composed of position and orientation. 
	geometry_msgs/Point position  	
	# This contains the position of a point in free space
		float64 x
		float64 y
		float64 z
	geometry_msgs/Quaternion orientation  	
	# This represents an orientation in free space in quaternion form.
		float64 x
		float64 y
		float64 z
		float64 w
  • int8[] data
    # The map data, in row-major order, starting with (0,0). Occupancy probabilities are in the range [0,100]. Unknown is -1.

参考:http://docs.ros.org/api/nav_msgs/html/msg/OccupancyGrid.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值