Abstract: In robotics, motion planning and inverse kinematics (IK) are often performed by mapping 3D workspace distances back to the robot's internal configuration space (C-space). However, this mapping is highly non-linear and often degrades the mathematical properties of distance fields, leading to vanishing gradients and local minima. This paper, presented at Robotics: Science and Systems (RSS) 2024, introduces Configuration Space Distance Fields (CDF). By measuring distances directly in joint space, CDFs preserve unit norm gradients, enabling robust, high-speed planning and single-step IK solutions.
Introduction
Traditional robotic perception relies on Signed Distance Fields (SDFs) in the 3D workspace. While effective for representing geometry, using these fields for control requires a "pullback" into the robot's configuration space. This process often destroys the Eikonal property (unit gradient magnitude), making optimization-based planners prone to failure near kinematic singularities.
The Problem with Task-Space Distances
When a robot avoids an obstacle, it must translate "distance to object" into "joint movement." Because the relationship between joints and the end-effector is non-linear, task-space gradients can explode or vanish. This forces planners to use iterative, computationally expensive methods like Gauss-Newton, which frequently get trapped in local minima or fail when the robot is at its reach limits.
Configuration Space Distance Fields (CDF)
The core innovation is the Configuration Space Distance Field (CDF). Instead of asking "How far is my hand from the table?", the CDF asks "How much do I need to move my joints to touch the table?" A CDF measures the $L^2$ angular distance in joint space to the nearest configuration that results in a collision.
As shown in the comparison above, the CDF maintains a well-behaved gradient field even where the traditional SDF fails. This allows for a "one-step" advantage: because the CDF maintains a unit norm gradient in C-space, the robot can reach a target or avoid an obstacle by simply projecting its current state along the gradient. This effectively turns a complex optimization problem into a single-step calculation. Furthermore, the paths generated by CDFs naturally "wrap" around obstacles as geodesics, leading to smoother, more intuitive robotic motions compared to the jerky trajectories often produced by binary collision-checking methods.
Implementation and Neural Approximation
To make CDFs practical for real-time use, the authors employ a 5-layer Multilayer Perceptron (MLP) to approximate the field. This Neural CDF is trained to satisfy the Eikonal equation, ensuring consistent gradient behavior. The training process involves an offline phase where "zero-level-set" configurations (contact points) are found using L-BFGS optimization.
Furthermore, a fusion strategy allows the system to handle complex, dynamic environments. By pre-computing CDFs for individual points in the workspace, the system can "fuse" these values online to represent arbitrary objects without needing to retrain the neural network.
Key Results
The researchers evaluated their approach using a 7-DoF Franka Emika Panda robot. Key findings include:
- Inverse Kinematics Speedup: The CDF approach was roughly 180 times faster at finding valid solutions than state-of-the-art distance-query methods, solving approximately 700,000 solutions per second.
- Planning Success Rates: In 7D motion planning benchmarks, CDF-based planners achieved success rates over 90%, while traditional SDF-based planners struggled, often hovering around 40-50% due to local minima and singularities.
- Real-Time Performance: The Neural CDF is efficient enough to run in reactive control loops at over 200Hz, enabling the robot to avoid moving obstacles in real-time.
Limitations and Future Work
While CDFs offer significant advantages, some limitations remain. The current field is unsigned, which can lead to minor inaccuracies at object boundaries. Additionally, the Neural CDF is robot-specific; changing the robot's geometry requires retraining. Future work aims to extend this representation to include non-Euclidean metrics, better accounting for joint limits and complex robot dynamics.
Summary updated