Abstract
State estimation from measured data is crucial for robotic applications as autonomous systems rely on sensors to capture the motion and localize in the 3D world. Among sensors that are designed for measuring a robot's pose, or for soft robots, their shape, vision sensors are favorable because they are information-rich, easy to set up, and cost-effective. With recent advancements in computer vision, deep learning-based methods no longer require markers for identifying feature points on the robot. However, learning-based methods are data-hungry and hence not suitable for soft and prototyping robots, as building such bench-marking datasets is usually infeasible. In this work, we achieve image-based robot pose estimation and shape reconstruction from camera images. Our method requires no precise robot meshes, but rather utilizes a differentiable renderer and primitive shapes. It hence can be applied to robots for which CAD models might not be available or are crude. Our parameter estimation pipeline is fully differentiable. The robot shape and pose are estimated iteratively by back-propagating the image loss to update the parameters. We demonstrate that our method of using geometrical shape primitives can achieve high accuracy in shape reconstruction for a soft continuum robot and pose estimation for a robot manipulator.
Introduction
Accurate state estimation—knowing exactly where a robot is in 3D space (pose estimation) and how its body is articulated or bent (shape reconstruction)—is fundamental for robotic autonomy. Traditionally, this is achieved using internal motor encoders or physical markers like QR codes. However, these methods often fail in unstructured environments. Internal sensors in soft robots are difficult to install and prone to error, while markers can be obscured by debris or fluid in specialized settings like surgery.
While deep learning (CNNs) offers a marker-less alternative, it typically requires massive, labeled datasets that are nearly impossible to collect for custom-built soft robots or rapid prototypes. This research addresses these challenges by providing a method to track robots without markers, without massive datasets, and without requiring high-fidelity 3D models.
Methodology
The proposed approach leverages a differentiable rendering pipeline to iteratively tune a simplified geometric model until its rendered silhouette matches the robot observed in a camera image.
Differentiable Rendering Pipeline
Unlike standard renderers that simply convert 3D models into 2D images, a differentiable renderer allows for the calculation of gradients. This enables the system to determine the mathematical direction needed to adjust the 3D model's parameters to make the resulting 2D image more closely resemble the target.
The pipeline follows four primary steps:
- Segmentation: The input RGB image is converted into a binary mask (silhouette) of the robot.
- Geometric Primitives: Instead of high-resolution CAD meshes, the system uses simple shapes. Soft robots are modeled as tubular meshes defined by Bézier curves, while rigid robots are represented by kinematic chains of boxes or cylinders.
- Optimization Loop: Starting from an initial guess, the system renders a silhouette, compares it to the actual image mask, and uses back-propagation to update the pose and shape parameters.
- Loss Functions: To prevent the optimization from reaching local minima, the authors introduced a Distance Loss (providing gradients even without initial overlap) and an Appearance Loss (ensuring consistent pixel counts to prevent the model from shrinking to "cheat" the loss).
Experimental Results
The method was evaluated on two distinct platforms: a custom tendon-driven octopus arm (soft continuum robot) and the Baxter robot (rigid manipulator).
Soft Robot Shape Reconstruction
For the octopus arm, the proposed keypoint-guided loss reduced the 2D error from 12.4 pixels to 3.2 pixels and the 3D reconstruction error from 8.7mm to 6.9mm. This demonstrates the framework's ability to handle the "infinite-degree-of-freedom" nature of soft robots.
Rigid Robot Pose Estimation
On the Baxter dataset, the method outperformed state-of-the-art deep learning methods like DREAM. Specifically, for the "Percentage of Correct Keypoints" (PCK) metric at a 100mm threshold, this method achieved 0.80 (using simple boxes) compared to 0.32 for DREAM. This highlights a key insight: simplified geometric primitives are sufficient for high-accuracy tracking.
Discussion and Conclusion
This work demonstrates a unified framework for state estimation that is robust to self-occlusion and adaptable to robots without precise CAD models. By utilizing differentiable rendering and geometric primitives, the system achieves high accuracy without the data requirements of traditional deep learning.
Currently, the optimization-based approach requires several hundred iterations to converge, making it slower than "one-shot" models. Future work will explore "warm-starting" the optimization with lightweight neural networks and extending the framework to multi-camera setups to resolve depth ambiguities more effectively.
Summary updated