Unitree releases UniCalib, a camera calibration tool for robots

In short

What is camera calibration on a robot?

A robot's camera does not report where things are on its own. Two things must be measured first. One is the camera's own optics: how its lens bends the picture and what its focal length is, called the intrinsics. The other is where each camera sits on the robot's body, called the extrinsics. Without both, a position seen in the image cannot be turned into a position in the robot's space.

Hand-eye calibration is the step that links the camera to the arm. Once the camera's position relative to the robot's links is known, something the camera sees can be converted into where the hand must go. Unitree's tool covers all three: intrinsics, extrinsics (the head's stereo pair, or custom multi-camera data) and hand-eye.

Unitree published UniCalib in its uni_calib GitHub repository; the README lists version 0.2.1. The 27 November 2026 date comes from our desk lead; we could not check it on the commit log. The LICENSE file is Apache License 2.0 with a 2026 copyright line for HangZhou YuShu Technology (Unitree). That licence allows use, modification and redistribution, including commercially, with notices kept.

How does UniCalib work?

4 robots supported for live hand-eye calibration: G1-D, G1 (29 DoF), R1-A7-D, H2-D; 120° field of view where the tool switches from a pinhole to a fisheye camera model; 20 images the live intrinsic capture needs at least (40 at most); 15 capture groups needed at least for hand-eye (20 with joint offset compensation)

The program runs on a Linux PC, not on the robot. It reads the camera images over the network from a TeleImager image service that must be running on the robot, and it writes the finished results to /home/unitree/calib/ on the robot over SSH, with a one-click copy. A wired connection is recommended for hand-eye work because the PC holds the arms at 250 commands a second and Wi-Fi packet loss degrades the hold.

The user prints a plain chessboard or a ChArUco board (the page can generate either as a 1:1 PDF), measures the printed square size with a ruler and enters it. Then the user holds the board, by the white margins only, in the positions the screen asks for. The README's rules are specific:

The tool uses a pinhole model for lenses up to 120° of field of view and a fisheye model (Kannala-Brandt, the same as OpenCV's cv2.fisheye) above that.

What is new in v0.2.1?

The focus check matters because turning the lens focus ring changes focal length and distortion, so the README says the intrinsics must be recalibrated after any refocusing.

Which robots, and what is not verified?

The README table gives each robot's notes. The G1-D is a wheeled base whose base must not move. The G1 (29 DoF) torso must be fixed, hung or propped, and versions with a locked waist are not supported yet. The R1-A7-D enters zero-torque mode at the start. On the H2-D the lift must not move during capture. Robots outside the list can use a "Custom data" mode with their own images and pose files.

Verification is partial. The README says the hold settings of the R1-A7-D and H2-D have been verified on real robots in eye-to-hand capture, but the head motor indices and directions of the R1-A7-D have not been checked separately, and eye-to-hand on the G1 has not been verified on a real robot yet.

What is the catch?

The licence file says Apache 2.0, but what the repository holds is a single AppImage (a Linux program packaged as one file), its checksum, URDF robot description files and documentation. No source code is included, so users can run and redistribute the tool but cannot read how it solves the calibration. It needs x86_64 Linux with glibc 2.35 or later (Ubuntu 22.04 or newer) and git-lfs to download. Our reading: whether the Apache grant fully covers the binary is a question for the owner; the README lists open-source parts it builds on (three.js, FastAPI, Unitree's SDK, Cyclone DDS) and says to refer to each for its licence.

The README also publishes no calibration error numbers, no comparison with other tools and no time saved. The accept or reject verdict is the tool's own; the README itself warns that a result is unreliable if the captured poses are all alike or the corners and edges are never covered.

What comes next

The README's to-do list ticks eye-to-hand calibration, including G1. Two items are open: hand-eye calibration for waist-locked G1 versions, and support for older Linux systems such as Ubuntu 20.04.

Terms in plain English

Official channels of Unitree: Website · LinkedIn · X · YouTube

Sources

Sources

Related stories

More from Humanoid Robots

All stories from Humanoid Robots