Problem to use Navigation_2D with Gazebo

asked 2017-03-31 09:15:31 -0500

eminent gravatar image

Hi, I want to run Navigation_2d with gazebo. I run the gazebo_robot package from SKasperski. My ROS is kinetic and my gazebo version is 7. When I press button 4 of the joystick to start, after some seconds which robot moves, the robot stops and it shows an errors: Is the robot out of the map?

Could not get robot position: Lookup would require extrapolation into the future. Requested time 108.398000000 but the latest data is at time 0.000000000, when looking up transform from frame [scout/base_link] to frame [scout/map]

Exploration failed, could not get current position.

How Can I handle it?


edit retag flag offensive close merge delete


This seems to be an issue with your transformations. At least one node seems to publish zero-timestamps. You can use "rosrun tf view_frames" to troubleshoot this error. All frames should be connected and transformations should have valid and recent timestamps.

Sebastian Kasperski gravatar image Sebastian Kasperski  ( 2017-04-03 01:27:25 -0500 )edit