Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame odom at time 176.254000 according to authority unknown_publisher

asked 2023-08-05 06:52:19 -0600

the_one gravatar image

updated 2023-08-08 00:29:15 -0600

Hi all, I am trying to generate the map using rosrun gmapping slam_gmapping scan:=scan _odom_frame:=odom for my 4wheel_bot environment. This is the github link of my repo for your reference and you can find the frames.pdf file also. I am having two issues when i run the launch file.

  1. I keep getting this error after i run the launch file and also when i run this command rosrun gmapping slam_gmapping scan:=scan _odom_frame:=odom

    Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame odom at time 176.254000 according to authority unknown_publisher at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.6/src/buffer_core.cpp

  2. the map in the rviz is moving when i make the bot move to generae the map even if i changed the fixed frame to "/map" frame from "odom" frame. It has to stay still right? and i can see the difference of bot moving in gazebo and rviz differs. for example lets say if the bot moves 2m in gazebo, in rviz the bot moves quiet slow. you can see here

the rosnode list are

/controller_spawner
/gazebo
/gazebo_gui
/robot_state_publisher
/rosout
/rviz
/slam_gmapping
/teleop_twist_keyboard

Would be glad if anyone point out what did i do wrong. Thanks in Advance

edit retag flag offensive close merge delete

Comments

Please edit your description and show us the output of rosnode list.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-08-05 09:52:30 -0600 )edit

I updated the question with rosnode list. But which description u mean?

the_one gravatar image the_one  ( 2023-08-05 10:44:51 -0600 )edit

Why are you running slam_toolbox? The wiki page says it is a "replacement" for gmapping, which hints to me that you should not run both at the same time.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-08-05 16:06:49 -0600 )edit

That's my fault, I forgot to delete the slam_toolbox node in the launch file. If i keep the slam_toolbox, the map display in rviz shows warning "no map received". That's why i go forr gmapping.

the_one gravatar image the_one  ( 2023-08-05 22:40:43 -0600 )edit