Ask Your Question
0

Lookup would require extrapolation into the future

asked 2019-12-21 14:59:29 -0600

Chao Chen gravatar image

Lookup would require extrapolation into the future. Requested time 1576960606.876893997 but the latest data is at time 1576960578.443333626.

The request time seems to be correct. However, the latest data seems to update slowly. When I open Rvis, it takes about 15 second to update the trasform. I wonder if I need to synchonize the timer. However should I do it.

Note: I add my code with waitForTransform. However, the error still exists.

now = rospy.Time.now() #listener = tf.TransformListener() self.listener.waitForTransform(self.robot_link, target_link, now, rospy.Duration(0.1)) (trans,rot) = self.listener.lookupTransform(self.robot_link, target_link, now)

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-01-09 15:34:17 -0600

Chao Chen gravatar image

Problem solved. You need to synchronize the time on your laptop with the platform you are using.

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

Stats

Asked: 2019-12-21 14:59:29 -0600

Seen: 33 times

Last updated: Jan 09