Abstract
Hand-eye calibration is a fundamental task in robotics, determining the spatial relationship between a robot's coordinate system and its visual sensors. Traditional algebraic methods often struggle with multi-camera configurations and are sensitive to measurement noise. This paper introduces a robust pose-graph optimization framework that treats calibration as a Simultaneous Localization and Mapping (SLAM) problem. By minimizing reprojection errors across all cameras simultaneously, the proposed method achieves significantly higher accuracy and resilience to noise compared to state-of-the-art algebraic solvers.
Introduction
In industrial robotics, "hand-eye calibration" is essential for tasks requiring precise visual guidance. This process is typically categorized into eye-in-hand (camera mounted on the end-effector) and eye-on-base (cameras fixed in the environment). While numerous solutions exist, they often face challenges in multi-camera setups where cameras are calibrated individually, ignoring shared geometric constraints. Furthermore, traditional algebraic solvers based on the $AX=XB$ equation are highly sensitive to noise from checkerboard detection or robot joint inaccuracies.
Proposed Methodology
The core innovation of this work is the transition from a purely algebraic approach to a pose-graph optimization framework. The problem is framed as a SLAM instance where motion is relative: instead of a moving robot in a static environment, the system is modeled as if the cameras move around a static robot.
Graph Construction and Optimization
The framework constructs a graph where nodes represent unknown transformations (camera poses) and edges represent geometric constraints. The optimization minimizes a cost function comprising two types of edges:
- Chained Equality Edges ($ch e_i$): These enforce geometric consistency across the transformation chain from the robot base to the camera.
- Reprojection Error Edges ($rpj e_i$): These minimize the distance between detected checkerboard corners and their projected positions based on the current pose estimates.
A key feature is Multi-Camera "Cross-Observation". When multiple cameras observe the calibration pattern simultaneously, direct constraints are created between them, factorizing error across the entire system. The framework is implemented using the g2o library and solved via the Levenberg-Marquardt algorithm.
Experimental Validation
The approach was validated using both synthetic and real-world datasets:
- Synthetic Data: A Gazebo-simulated work cell with an industrial arm and five external cameras. 150 robot poses were collected with varying levels of visual and geometric noise.
- Real-World Data: A setup featuring a Franka Emika Panda robot and three Kinect2 cameras, testing performance under actual hardware inaccuracies and lighting conditions.
Key Results
The proposed "GRAPH_MULTI" method demonstrated superior performance in several areas:
- Noise Resilience: In simulations, while traditional methods (e.g., Tsai or Park) showed rapidly increasing error with noise, the proposed method maintained a nearly flat error curve.
- Real-World Accuracy: In a three-camera setup, the average reprojection error was 1.68 pixels, significantly outperforming the next best method (Horaud) at 8.61 pixels.
- Convergence: The method proved robust to poor initializations, converging successfully even when initialized with an identity matrix.
Conclusion
By shifting to a graph-based optimization that focuses on raw pixel data (reprojection error), this framework provides a robust solution for complex multi-camera hand-eye calibration. Future work will address dynamic effects like robot arm deflection and extend the formulation to multi-robot, multi-camera environments.
The implementation is available as open-source at Bitbucket.
Summary updated