Ask Your Question

TF Error: Lookup would requrie extrapolation into the future

asked 2018-08-01 21:09:51 -0600

asabet gravatar image

updated 2018-08-02 13:00:56 -0600

jayess gravatar image

I'm running rtabmap on a jackal robot with bumblebee2 stereo camera on ros-kinetic. I get the following error when trying to view pointcloud2 topic in rviz:

Transform [sender=unknown_publisher] For frame [front_camera_optical]: No transform to fixed frame [map]. TF error: [Lookup would require extrapolation into the future. Requested time 1533228746.513341601 but the latest data is at time 1533228664.878277882, when looking up transform from frame [front_camera_optical] to frame [map]]

When I view the tf tree link text I see that i'm getting -0.086 sec old from the map broadcast by rtabmap.

edit retag flag offensive close merge delete



Can you please update your question with a copy and paste of the error instead of linking to an image? Text from images isn't searchable and people cannot copy and paste the text from it.

jayess gravatar imagejayess ( 2018-08-01 22:59:37 -0600 )edit

Thanks for the feedback! Any ideas on what the issue could be?

asabet gravatar imageasabet ( 2018-08-02 12:01:17 -0600 )edit

It's most likely a network problem. Take a look at that page and look for other solutions on this site, it's a pretty common problem that's been asked many times.

jayess gravatar imagejayess ( 2018-08-02 13:02:17 -0600 )edit

If you go through that page and try those solutions and are still having go ahead please update your question.

jayess gravatar imagejayess ( 2018-08-02 13:03:12 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-08-02 13:10:55 -0600

Mark Rose gravatar image

This is often caused by either of the following issues:

  • Running nodes on more than one host when the host's clocks are not synchronized closely enough. You need to run NTP on each host, to synchronize their clocks with a network server, or set the times manually upon boot, or have one machine synch from another.
  • Mixing messages played back a bag file and "live" messages from running nodes.

(There are probably more ways to have this happen, but those two have been most common for me.)

ROS relies on each host keeping track of the current time. If you don't have a battery-backed-up clock you'll have to either have network connectivity for NTP or synchronize the clocks in some other way.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-08-01 21:09:51 -0600

Seen: 645 times

Last updated: Aug 02 '18