First time here? Check out the FAQ!


ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

easy handye result not matching with tf publish

asked Nov 7 '22

akumar3.1428 gravatar image

updated Jun 18 '23

lucasw gravatar image

Hi, I did an eye-on-base calibration using easyhand eye calibration. However, I am not sure why the two results are coming different

Below is my yaml file:

parameters:
  eye_on_hand: false
  freehand_robot_movement: false
  move_group: xarm6
  move_group_namespace: /
  namespace: /my_eob_calib_eye_on_base/
  robot_base_frame: link_base
  robot_effector_frame: link_eef
  tracking_base_frame: camera_color_optical_frame
  tracking_marker_frame: camera_marker
transformation:
  qw: 0.03691849150074109
  qx: -0.021471634269781114
  qy: -0.7100192117606726
  qz: 0.7028859885058515
  x: 0.22080579799551825
  y: 1.9530447157926458
  z: 1.0404342264702213

Below is rosrun tf tf_echo camera_color_optical_frame link_base

At time 0.000
- Translation: [0.027, 1.024, 1.979]
- Rotation: in Quaternion [0.016, 0.712, -0.700, 0.046]
            in RPY (radian) [-1.586, 0.088, -3.101]
            in RPY (degree) [-90.870, 5.022, -177.659]
Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered Nov 8 '22

ravijoshi gravatar image

Please see the usage of tf_echo below:

$ rosrun tf tf_echo
Usage: tf_echo source_frame target_frame [echo_rate]

This will echo the transform from the coordinate frame of the source_frame
to the coordinate frame of the target_frame. 
Note: This is the transform to get data from target_frame into the source_frame.
Default echo rate is 1 if echo_rate is not given.

Therefore, you should try the following command to get the results matching your YAML file.

rosrun tf tf_echo link_base camera_color_optical_frame
Preview: (hide)

Question Tools

1 follower

Stats

Asked: Nov 7 '22

Seen: 57 times

Last updated: Nov 07 '22