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 2022-11-07 12:56:36 -0500

akumar3.1428 gravatar image

updated 2023-06-18 09:58:42 -0500

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]
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-11-07 23:57:54 -0500

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
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-11-07 12:56:36 -0500

Seen: 39 times

Last updated: Nov 07 '22