Skip to content

3D Hand-Eye Calibration - Eye-in-Hand

Operator Function

Calibrate the camera coordinate system and gripper coordinate system, outputting the transformation matrix from the camera coordinate system to the gripper coordinate system.

Note: The input robot TCP position data unit is millimeters, and the orientation data format is quaternion w,x,y,z

Parameter Introduction

Calculation Parameters

ParameterRangeDefault ValueDescriptionIllustration
Calibration Folder PathEmptySelect the path of the calibration folder
Note: Each calibration folder needs to contain the following: ordered point cloud PCD file, calibration board RGB image, and robot TCP TXT file. The content of the robot TCP TXT file is as follows:
Camera Coordinate SystemLeft-handed/Right-handedRight-handedSelect whether the camera coordinate system is left-handed or right-handed
Right-handed: Let the right thumb point in the positive x-axis direction, the index finger point in the positive y-axis direction. If the middle finger can point in the positive z-axis direction, then this coordinate system is called a right-handed Cartesian coordinate system
Left-handed: Let the left thumb point in the positive x-axis direction, the index finger point in the positive y-axis direction. If the middle finger can point in the positive z-axis direction, then this coordinate system is called a left-handed Cartesian coordinate system
TypeCheckerboardCheckerboardCheckerboard type calibration board
Checkerboard Rows17Number of inner corner points in each column direction of the checkerboard
Checkerboard Columns19Number of inner corner points in each row direction of the checkerboard
Grid Size16.000Side length of the square grid

Output Parameters

NameTypeRangeDescription
Resultbooltrue/falsetrue for success
false for failure
Warningbooltrue/falsetrue indicates a warning
false indicates no warning
MessagestringOutput success, error, or warning messages. Empty if no error or warning.
TimefloatOperator execution time, unit: ms
matrixmatrixHand-eye calibration matrix

The content of the robot TCP TXT file is as follows:

txt
# x y z W X Y Z
-674.403 -48.73 208.417 0.027337064798979564 0.9987043426207015 0.02640403261922582 -0.0338400351680058

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Calibration folder path is emptySelect the correct file path
2Calibration folder does not existSelect the correct calibration file path
3Eye-in-hand calibration failedCheck if the folders containing rgb, tcp, and point cloud pcd files are empty. If empty, place the data correctly

Example Introduction

Engineering Design

  1. Select the 3D Hand-Eye Calibration - Eye-in-Hand tool.

Tool Usage

  1. Set the calibration folder path.

  2. Set the calibration board parameters.

  3. Click Test to view the calibration matrix.

  4. If there are no issues, click Save. Run the operator in the run list, and then view the running results.

Local Image

AI-Vision, Making 3D Measurement Easier