Unified Complementarity-Based Contact Modeling and Planning for Soft Robots

BM2 Lab, Georgia Institute of Technology
Preprint, 2026

Abstract

Soft robots were introduced in large part to enable safe, adaptive interaction with the environment, and this interaction relies fundamentally on contact. However, modeling and planning contact-rich interactions for soft robots remain challenging: dense contact candidates along the body create redundant constraints and rank-deficient LCPs, while the disparity between high stiffness and low friction introduces severe ill-conditioning. Existing approaches rely on problem-specific approximations or penalty-based treatments. This letter presents a unified complementarity-based framework for soft-robot contact modeling and planning that brings contact modeling, manipulation, and planning into a unified, physically consistent formulation. We develop a robust Linear Complementarity Problem (LCP) model tailored to discretized soft robots and address these challenges with a three-stage conditioning pipeline: inertial rank selection to remove redundant contacts, Ruiz equilibration to correct scale disparity and ill-conditioning, and lightweight Tikhonov regularization on normal blocks. Building on the same formulation, we introduce a kinematically guided warm-start strategy that enables dynamic trajectory optimization through contact using Mathematical Programs with Complementarity Constraints (MPCC) and demonstrate its effectiveness on contact-rich ball manipulation tasks. In conclusion, CUSP provides a new foundation for unifying contact modeling, simulation, and planning in soft robotics.

Overview

Soft robots are built to exploit safe, whole-body contact with their environment, making contact modeling and planning central to their potential impact. Yet most existing soft-robot work either ignores contact, treats it with simple penalties, or relies on high-fidelity FEM models that are too slow and restricted to small systems with simplified sticking-only interactions. As a result, we lack a scalable, physically consistent way to both simulate and plan contact-rich behaviors for continuum manipulators.

This work introduces a unified complementarity-based framework in which a single contact formulation underlies both forward simulation and trajectory optimization for a discretized soft arm. On the simulation side, we condition the resulting Linear Complementarity Problem (LCP) so it can be solved reliably even with many simultaneous contacts. On the planning side, we embed the same contact law in a Mathematical Program with Complementarity Constraints (MPCC) and use a kinematically guided warm-start to obtain dynamic manipulation trajectories that deliberately exploit contact.

Forward Simulation via Robust LCP

We model a three-section pneumatically actuated soft arm under a piecewise-constant-curvature description and place convex contact disks along its backbone as potential contact candidates. At each time step, actuator-space dynamics are coupled to a velocity-level LCP contact formulation: normal impulses are complementary to normal relative velocity, and tangential impulses lie in a polyhedral approximation of the Coulomb friction cone, so separation, sticking, and sliding are all captured within a single algebraic model.

Dense contact disks introduce redundant constraints and scale disparities that render the raw LCP matrix singular or extremely ill-conditioned. We address this with a three-stage conditioning pipeline tailored to discretized soft bodies: inertial rank selection removes dynamically redundant contact rows, Ruiz equilibration balances the scales of all matrix blocks, and a lightweight Tikhonov regularization is applied to the normal blocks. The resulting conditioned LCP can be solved robustly by standard LCP solvers, enabling stable, high-fidelity simulation of whole-body, multi-contact interactions that are difficult for conventional physics engines.

Planning Through Contact

Using the same complementarity-based contact law, we formulate ball-rotation tasks as an MPCC in which the optimizer jointly chooses robot actuation, ball motion, and contact forces over a horizon. Complementarity constraints enforce nonpenetration and Coulomb friction at each contact candidate, so the optimizer reasons explicitly about when the arm makes, maintains, or breaks contact with the ball.

Directly solving the full dynamic MPCC is challenging, so we introduce a kinematically guided warm-start. In the first stage, we remove the robot dynamics and treat the arm as a kinematic chain: we optimize over arm configurations, ball motion, and contact forces while preserving the same contact geometry and complementarity-based friction model. This kinodynamic problem produces a feasible contact schedule and ball rotation trajectory. In the second stage, we reintroduce the full soft-robot dynamics and solve the dynamic MPCC, initializing robot states, ball states, and contact impulses from the kinematic solution. This warm-start steers the solver toward dynamically feasible, contact-rich trajectories that achieve precise 90° ball rotations.

Key Contributions

  • Unified contact framework for soft robots: a single complementarity-based contact model is shared between forward simulation and trajectory optimization, so that the contact mechanics used to predict motion are exactly the ones used to plan it.
  • Robust LCP formulation for discretized soft bodies: we identify how dense contact disks create rank-deficient and ill-conditioned LCPs, and resolve this with a three-stage conditioning pipeline (inertial rank selection, Ruiz equilibration, and lightweight Tikhonov regularization) that makes standard LCP solvers reliable for soft-robot contact.
  • Hierarchical contact-aware trajectory planning: we introduce a kinematically guided warm-start that first solves a kinodynamic contact problem, then uses that solution to initialize a full dynamic MPCC, enabling practical trajectory optimization for contact-rich ball manipulation tasks that are otherwise difficult to solve from a cold start.
  • Modular and extensible implementation: the framework is organized so that new soft-robot geometries and contact environments can be specified with minimal effort, providing a reusable foundation for future work on contact-rich soft-robot simulation, planning, and control.

Forward Simulation via Robust LCP

These clips illustrate our forward simulation framework for robot contact modeling. In both scenarios (inclined box and two spheres), the soft arm is driven by gravity and actuation while many contact disks along its backbone interact with the environment. The conditioned LCP contact solver enforces nonpenetration and Coulomb friction at all disks simultaneously, allowing the arm to transition between separation, sticking, and sliding without loss of numerical stability.

Planning Through Contact

These trajectories show the contact-aware MPCC planner in action: the soft arm rotates a ball by 90° about the x, y, and z axes while respecting its own dynamics and frictional contact constraints. The warm-start is kinematically guided: in a first stage, we solve a kinematic contact problem that keeps the full ball dynamics and contact complementarity, but treats the robot as kinematic. This cheaper problem identifies a feasible contact schedule and target ball motion. In a second stage, we use this kinematic solution to initialize all states and contact forces in the full dynamic MPCC, and compute consistent initial torques via inverse dynamics. This two-stage procedure steers the optimizer toward a good region of the search space, making convergence reliable and yielding dynamically feasible trajectories that achieve near-perfect 90° rotations.

BibTeX

@article{azizkhani2026unified,
  title={Unified Complementarity-Based Contact Modeling and Planning for Soft Robots},
  author={Azizkhani, Milad and Chen, Yue},
  journal={arXiv preprint arXiv:2602.21316},
  year={2026},
  url={https://arxiv.org/abs/2602.21316}
}