Lookup would require extrapolation into the future
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)