A two-stage nonlinear-optimization solver for tendon-driven continuum robots that unifies inverse kinematics, path following, and trajectory planning in a single constrained optimization formulation. Written in pure Python on JAX with GPU-accelerated parallel optimization, giving significant speedups over CPU-based solvers while maintaining > 95% success and millimeter-level accuracy.
Inverse kinematics under different backbone configurations. CR-Solver seamlessly handles three-section and four-section robots, extensible morphologies, and collision-avoidance constraints in a single optimization framework.
Continuum robots provide intrinsic compliance, high dexterity, and safe physical interaction, enabling navigation and manipulation in confined and unstructured environments. Despite recent advances in sensing and control heightening the need for precise motion generation, most widely used planning libraries are grounded in rigid-body assumptions, creating a critical gap for fast and practical tools for continuum robots. To address this, we present CR-Solver, a two-stage, optimization-based solver for the motion generation of tendon-driven continuum robots. Our method unifies inverse kinematics, path following, and trajectory planning within a single constrained nonlinear optimization framework. Leveraging GPU-accelerated parallel optimization, CR-Solver delivers fast, accurate, and constraint-aware solutions. We validate our approach on three tasks, demonstrating significant speedups over traditional CPU-based solvers while achieving a consistently high success rate above 95% and millimeter-level accuracy. The solver is implemented in pure Python, reducing the barrier to adoption and offering a practical, extensible foundation for continuum robots' high-performance motion planning.
Continuum robots generate motion through deformation of a continuous backbone — theoretically infinite degrees of freedom. Their intrinsic compliance and slender morphology are perfect for surgery, search-and-rescue, and other confined-space tasks, but the same flexibility makes motion generation computationally demanding. Established rigid-body planners (OMPL, cuRobo, PyRoki) are fundamentally incompatible: they assume URDF-based rigid-link abstractions with discrete joint coordinates, whereas continuum robots have configuration spaces defined by continuous deformation fields.
Our framework provides three core capabilities for continuum robots: (a) inverse kinematics that computes feasible configurations for desired end-effector poses while avoiding obstacles, (b) trajectory planning that generates collision-free trajectories between start and goal configurations, and (c) path following that enables precise tracking of predefined end-effector trajectories. All three functionalities leverage GPU-accelerated parallel optimization for efficient computation.
We model tendon-driven continuum robots as a chain of piecewise-constant-curvature segments, parameterised by arc length, bending angle, and azimuth.
Kinematic model of a single segment in a tendon-driven continuum robot. Left: The segment structure showing the arc length Li, bending angle θi, and azimuth angle φi with coordinate frames attached at each disk. Right: Cross-sectional view showing the tendon routing pattern with three tendons symmetrically placed at radius rc from the central backbone, with angular spacing α between adjacent tendons.
We cast inverse kinematics, path following, and trajectory planning as a single constrained nonlinear optimization — pose error, trajectory smoothness, actuation limits, and collision avoidance are all encoded as differentiable penalties. The core is a GPU-accelerated solver built in pure Python on JAX with JIT compilation and automatic differentiation. A two-stage optimization strategy exploits GPU parallelism to optimize many candidate solutions simultaneously, improving robustness to initialization and reducing susceptibility to local minima.
Framework of CR-Solver. We employ a GPU-accelerated two-stage pipeline: Stage I performs massively parallel seed sampling, roadmap searching, and parallel IK to generate diverse feasible initializations; Stage II uses a batched gradient-based solver on a GPU to refine selected candidates, solving inverse kinematics, trajectory planning, and path following under a unified constrained optimization.
CR-Solver achieves nearly 100% success on collision-aware inverse kinematics for continuum robots with varying segment counts, seamlessly handling both non-extendable and extendable configurations.
Inverse kinematics solutions for non-extendable (left) and extendable (right) robot configurations, demonstrating the solver's capability.
On trajectory planning in cluttered environments, CR-Solver produces smooth, collision-free trajectories while respecting joint limits.
Trajectory planning in cluttered environments. Colored robot configurations depict a single trajectory, visualized every 13 timesteps; the orange curve with an arrow is the corresponding end-effector trace. (a) Random scene with spherical obstacles. (b) Shelf environment, where the trajectory traverses a narrow aisle while satisfying joint-limit and collision-avoidance constraints.
Ablation study on trajectory planning with different initialization strategies.
We evaluate constrained path following on ICRA-shaped trajectories, achieving millimeter-level accuracy while avoiding obstacles.
The results of tracking the ICRA-shaped paths. Top row: the robot traces the letters I, C, R, and A while avoiding obstacles, showing representative configurations along each stroke. Middle row: boxplots of tracking errors for each letter trajectory, including position error (mm, left axis) and rotation error (deg, right axis). Bottom row: evolution of the three driving cable lengths of the first segment during tracking, demonstrating smooth and continuous actuation.