pal-robotics / aruco_ros

Software package and ROS wrappers of the Aruco Augmented Reality marker detector library
MIT License
448 stars 306 forks source link

Cannot find Kinect2_rgb_optical frame #63

Closed chandanlal92 closed 5 years ago

chandanlal92 commented 5 years ago

[ERROR] [1554290012.244204703]: Unable to get pose from TF: canTransform: source_frame kinect2_rgb_optical_frame does not exist.. canTransform returned after 0.502939 timeout was 0.5. [ERROR] [1554290012.757058040]: Unable to get pose from TF: canTransform: source_frame kinect2_rgb_optical_frame does not exist.. canTransform returned after 0.504677 timeout was 0.5. [ERROR] [1554290013.268903816]: Unable to get pose from TF: canTransform: source_frame kinect2_rgb_optical_frame does not exist.. canTransform returned after 0.503324 timeout was 0.5.

chandanlal92 commented 5 years ago
chandanlal92 commented 5 years ago

This is my launch file

chandanlal92 commented 5 years ago

The Marker is detected properly. I am not able to see my kinect2_optical_frame

chandanlal92 commented 5 years ago

This will affect my calibration results

1gen100 commented 5 years ago

Did you find a solution to this problem? I also getting the same problem:

[ERROR] [1561377304.973332415]: Unable to get pose from TF: canTransform: source_frame kinect2_rgb_optical_frame does not exist.. canTransform returned after 0.502502 timeout was 0.5. [ERROR] [1561377305.506447283]: Unable to get pose from TF: canTransform: source_frame kinect2_rgb_optical_frame does not exist.. canTransform returned after 0.503137 timeout was 0.5. [ERROR] [1561377306.033191667]: Unable to get pose from TF: canTransform: source_frame kinect2_rgb_optical_frame does not exist.. canTransform returned after 0.500643 timeout was 0.5.

chandanlal92 commented 5 years ago
<param name="reference_frame"    value="kinect2_rgb_optical_frame"/>   <!-- frame in which the marker pose will be refered -->
<param name="camera_frame"       value="kinect2_rgb_optical_frame"/>

This should be the parameter...And Open rqt_image_view and choosr topic aruco_ros/result....If you do this you will get the frame.

1gen100 commented 5 years ago

Thank you very much, it work I'm not getting any ERRORs anymore :+1: