ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

It's working for me:

roscore
rosparam set use_sim_time true
rosrun gmapping slam_gmapping _base_frame:=base_footprint
rosbag play --clock 'full_loop_with_office (1).bag'

$ rostopic echo /map_metadata
map_load_time: 
  secs: 0
  nsecs:         0
resolution: 0.0500000007451
width: 4000
height: 4000
origin: 
  position: 
    x: -100.0
    y: -100.0
    z: 0.0
  orientation: 
    x: 0.0
    y: 0.0
    z: 0.0
    w: 1.0

$ rostopic echo --noarr /map 
header: 
  seq: 0
  stamp: 
    secs: 1513852657
    nsecs: 631752338
  frame_id: "map"
info: 
  map_load_time: 
    secs: 0
    nsecs:         0
  resolution: 0.0500000007451
  width: 4000
  height: 4000
  origin: 
    position: 
      x: -100.0
      y: -100.0
      z: 0.0
    orientation: 
      x: 0.0
      y: 0.0
      z: 0.0
      w: 1.0
data: "<array type: int8, length: 16000000>"
---