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

Tomité's profile - activity

2022-10-12 04:44:25 -0500 marked best answer "Waiting for the map" when using map_server and rosbag

Hello, I'm currently doing the tutorial teb_local_planner and now I'm trying to build a map with this tutorial. 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 ...
(more)
2019-04-25 07:23:30 -0500 received badge  Famous Question (source)
2019-03-26 09:01:13 -0500 commented answer "Waiting for the map" when using map_server and rosbag

For record commands, I used these commands in different records.

2019-03-26 09:00:00 -0500 commented answer "Waiting for the map" when using map_server and rosbag

Okay so I must kill Gazebo when I'm playing ?

2019-03-25 15:23:32 -0500 received badge  Notable Question (source)
2019-03-25 11:15:38 -0500 commented answer "Waiting for the map" when using map_server and rosbag

I have updated the question if you want, with all nodes and commands what I launch.

2019-03-25 11:14:59 -0500 edited question "Waiting for the map" when using map_server and rosbag

"Waiting for the map" when using map_server and rosbag Hello, I'm currently doing the tutorial teb_local_planner and now

2019-03-23 06:55:42 -0500 commented answer "Waiting for the map" when using map_server and rosbag

Excuse me for the late, can you explain me how to check if it is correct ? Do you want other messages in terminal ?

2019-03-23 06:53:02 -0500 received badge  Popular Question (source)
2019-03-22 11:08:57 -0500 asked a question "Waiting for the map" when using map_server and rosbag

"Waiting for the map" when using map_server and rosbag Hello, I'm currently doing the tutorial teb_local_planner and now