Low-DOF Hand-Eye Calibration

Robots with fewer than six degrees of freedom (DOF) cannot move the calibration object through every orientation, so the standard hand-eye calibration is under-constrained and returns a wrong or unstable transform. Low-DOF hand-eye calibration resolves this by taking the known fixed placement of the calibration object as an extra input.

Low-DOF hand-eye calibration is an experimental feature: the API is in the Experimental namespace, and in Zivid Studio it is part of the Hand-Eye Calibration tool, which needs experimental features enabled.

When you need it

Use low-DOF calibration whenever the robot cannot vary all three rotational axes during capture. A typical case is a 4-DOF robot that only translates and rotates about the vertical axis, or any setup where the tool orientation is constant across all poses.

On such data, the standard calibration cannot determine the translation along the robot’s rotation axis: the rest of the hand-eye transform comes out right, but its Z translation can be far off. Adding the calibration object’s fixed placement supplies the missing constraint.

The fixed placement

The fixed placement is the pose, or position, of the stationary calibration object expressed in the frame it is fixed to:

  • Eye-in-hand: the object is stationary in the scene, so give its placement in the robot base frame.

  • Eye-to-hand: the object is mounted on the robot, so give its placement in the robot end-effector (flange) frame.

What to provide depends on the calibration object:

  • Checkerboard: provide the pose of the board (recommended) or the position of its origin, the top-left inner corner (see Zivid Calibration Object). A position is enough to solve the calibration, but the pose gives a more accurate result.

  • Markers: provide the position of the center of each marker, using the same marker dictionary and marker IDs as in the detection.

Measure the placement in the same units and frame as the robot poses (Zivid uses millimeters). An incorrect fixed placement is the most common cause of a failed low-DOF calibration. A placement that is rotated from the true one, for example a checkerboard entered with its in-plane axes swapped (a 90° yaw error), keeps residuals high even though the capture data is good, so verify it before blaming the dataset.

How to run it

In Zivid Studio, enable Low-DOF in the Hand-Eye Calibration window and enter the fixed placement with Set fixed objects…. See Hand-Eye Calibration in Studio.

In the Hand-Eye GUI with RoboDK, enable Fixed Objects - for low DOF systems and enter the fixed placement. Use it when RoboDK moves the robot, for example for a robot other than Universal Robots.

With the SDK, build the fixed placement and call the low-DOF calibration function. The fixed placement types and the calibrateEyeInHandLowDOF / calibrateEyeToHandLowDOF functions are described in the Hand-Eye Calibration API reference.

The capture workflow is otherwise identical to the standard calibration. All robot poses must be different, and you need at least 2 poses with a calibration board, or at least 6 poses with markers, where each marker is detected in at least 2 poses. Follow How to get Good Dataset for Hand-Eye Calibration for pose coverage and data quality, and How to Verify Hand-Eye Calibration to check the result.