Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 76

"Waiting for the map" when using map_server and rosbag

$
0
0
Hello, I'm currently doing the tutorial [teb_local_planner](http://wiki.ros.org/teb_local_planner/Tutorials) and now I'm trying to build a map with this [tutorial](http://wiki.ros.org/slam_gmapping/Tutorials/MappingFromLoggedData). I execute all commands and at the end of this, I have problem with this command : ~/Documents/pts-info2-master/mybot_ws-base_sensors/src$ rosrun map_server map_saver -f my_map [ INFO] [1553269724.865617557]: Waiting for the map I never get the map and I must kill the process. I use Velodyne, Ubuntu 16.04 with ROS Kinetic distribution. Thanks. I run Gazebo with the robot. To launch node for odometry `roslaunch odometry_pkg start_odom.launch ` then : To launch node for laser_scan `roslaunch sensor_pkg laser_scan.launch` To launch node for point cloud `roslaunch sensor_pkg point_cloud.launch` This is my rostopic list : /clicked_point /clock /cloud /cmd_vel /gazebo/link_states /gazebo/model_states /gazebo/parameter_descriptions /gazebo/parameter_updates /gazebo/set_link_state /gazebo/set_model_state /gazebo_gui/parameter_descriptions /gazebo_gui/parameter_updates /initialpose /joint_states /move_base_simple/goal /mybot/camera1/camera_info /mybot/camera1/image_raw /mybot/camera1/image_raw/compressed /mybot/camera1/image_raw/compressed/parameter_descriptions /mybot/camera1/image_raw/compressed/parameter_updates /mybot/camera1/image_raw/compressedDepth /mybot/camera1/image_raw/compressedDepth/parameter_descriptions /mybot/camera1/image_raw/compressedDepth/parameter_updates /mybot/camera1/image_raw/theora /mybot/camera1/image_raw/theora/parameter_descriptions /mybot/camera1/image_raw/theora/parameter_updates /mybot/camera1/parameter_descriptions /mybot/camera1/parameter_updates /odom /rosout /rosout_agg /scan /tf /tf_static /velodyne_points I tried these commands : rosbag record -O mylaserdata /base_scan /tf rosbag record -O mylaserdata /scan /odom /velodyne_points /tf I kill the process. `rosparam set use_sim_time true` `rosrun gmapping slam_gmapping scan:=base_scan _odom_frame:=odom_combined` `rosbag play --clock mylaserdata` In the terminal of the last Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp Warning: TF_OLD_DATA ignoring data from the past for frame right_wheel at time 1519 according to authority unknown_publisher Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp Warning: TF_OLD_DATA ignoring data from the past for frame left_wheel at time 1519 according to authority unknown_publisher Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp [ WARN] [1553529895.095733157, 1519.007083163]: Detected jump back in time of 42.4629s. Clearing TF buffer. Warning: TF_OLD_DATA ignoring data from the past for frame odom_combined at time 1519.07 according to authority unknown_publisher Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp [ WARN] [1553529895.116016908, 1519.027228311]: Detected jump back in time of 42.4608s. Clearing TF buffer. [ WARN] [1553529895.136380505, 1519.047353639]: Detected jump back in time of 42.4546s. Clearing TF buffer. Warning: TF_OLD_DATA ignoring data from the past for frame base_link at time 1519.05 according to authority unknown_publisher Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp [ WARN] [1553529895.145895211, 1519.057411630]: Detected jump back in time of 42.4506s. Clearing TF buffer. [ WARN] [1553529895.166244974, 1519.077563351]: Detected jump back in time of 42.4364s. Clearing TF buffer. [ WARN] [1553529895.176323293, 1519.087620102]: Detected jump back in time of 42.4464s. Clearing TF buffer. [ WARN] [1553529895.186614651, 1519.097677216]: Detected jump back in time of 42.4543s. Clearing TF buffer. [ WARN] [1553529895.196473574, 1519.107762581]: Detected jump back in time of 42.4492s. Clearing TF buffer. Warning: TF_OLD_DATA ignoring data from the past for frame base_link at time 1519.13 according to authority unknown_publisher Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp [ WARN] [1553529895.226862601, 1519.137992365]: Detected jump back in time of 42.447s. Clearing TF buffer. Warning: TF_OLD_DATA ignoring data from the past for frame base_link at time 1519.15 according to authority unknown_publisher Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp [ WARN] [1553529895.256925267, 1519.168171928]: Detected jump back in time of 42.4338s. Clearing TF buffer. [ WARN] [1553529895.277063532, 1519.188301062]: Detected jump back in time of 42.4257s. Clearing TF buffer. Warning: TF_OLD_DATA ignoring data from the past for frame left_wheel at time 1519.2 according to authority unknown_publisher Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp Warning: TF_OLD_DATA ignoring data from the past for frame right_wheel at time 1519.2 according to authority unknown_publisher Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp Warning: TF_OLD_DATA ignoring data from the past for frame base_link at time 1519.2 according to authority unknown_publisher Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp Warning: TF_OLD_DATA ignoring data from the past for frame right_wheel at time 1519.2 according to authority unknown_publisher Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp Warning: TF_OLD_DATA ignoring data from the past for frame left_wheel at time 1519.2 according to authority unknown_publisher Possible reasons are listed at http://wiki.ros.org/tf/Errors%20explained at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp Warning: TF_OLD_DATA ignoring data from the past for frame base_link at time 1519 according to authority unknown_publisher `rosrun map_server map_saver -f my_map` rosrun map_server map_saver -f my_map [ INFO] [1553529926.212244047]: Waiting for the map

Viewing all articles
Browse latest Browse all 76

Trending Articles