Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

troubles when take sample #144

Open
fancangning opened this issue Oct 29, 2024 · 0 comments
Open

troubles when take sample #144

fancangning opened this issue Oct 29, 2024 · 0 comments

Comments

@fancangning
Copy link

when I pressed the "take sample" button, the error appeared.

[ERROR] [1730221145.813726]: Error processing request: Lookup would require extrapolation 0.163575172s into the past. Requested time 1730221135.660337687 but the earliest data is at time 1730221135.823912859, when looking up transform from frame [aruco_marker_frame] to frame [camera_link]
['Traceback (most recent call last):\n', ' File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 633, in _handle_request\n response = convert_return_to_response(self.handler(request), self.response_class)\n', ' File "/home/fancangning/catkin_ws/src/easy_handeye/easy_handeye/src/easy_handeye/handeye_server.py", line 88, in take_sample\n self.sampler.take_sample()\n', ' File "/home/fancangning/catkin_ws/src/easy_handeye/easy_handeye/src/easy_handeye/handeye_sampler.py", line 88, in take_sample\n transforms = self._get_transforms()\n', ' File "/home/fancangning/catkin_ws/src/easy_handeye/easy_handeye/src/easy_handeye/handeye_sampler.py", line 76, in _get_transforms\n opt = self.tfBuffer.lookup_transform(self.handeye_parameters.tracking_base_frame,\n', ' File "/opt/ros/noetic/lib/python3/dist-packages/tf2_ros/buffer.py", line 90, in lookup_transform\n return self.lookup_transform_core(target_frame, source_frame, time)\n', 'tf2.ExtrapolationException: Lookup would require extrapolation 0.163575172s into the past. Requested time 1730221135.660337687 but the earliest data is at time 1730221135.823912859, when looking up transform from frame [aruco_marker_frame] to frame [camera_link]\n']
Traceback (most recent call last):
File "/home/fancangning/catkin_ws/src/easy_handeye/rqt_easy_handeye/src/rqt_easy_handeye/rqt_easy_handeye.py", line 132, in handle_take_sample
sample_list = self.client.take_sample()
File "/home/fancangning/catkin_ws/src/easy_handeye/easy_handeye/src/easy_handeye/handeye_client.py", line 76, in take_sample
return self.take_sample_proxy().samples
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 442, in call
return self.call(*args, **kwds)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 523, in call
responses = transport.receive_once()
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_base.py", line 742, in receive_once
p.read_messages(b, msg_queue, sock)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 360, in read_messages
self._read_ok_byte(b, sock)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 343, in _read_ok_byte
raise ServiceException("service [%s] responded with an error: %s"%(self.resolved_name, str))
rospy.service.ServiceException: service [/panda_eob_calib_eye_on_hand/take_sample] responded with an error: b'error processing request: Lookup would require extrapolation 0.163575172s into the past. Requested time 1730221135.660337687 but the earliest data is at time 1730221135.823912859, when looking up transform from frame [aruco_marker_frame] to frame [camera_link]'

How can I solve this problem?Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant