# A complete analytical characterization of optimal collision-free motion for two robots

Optimal collision-free paths for robot pairs fall into contact families

Jan Kamm, Antonio Terpin, Raffaello D'Andrea · arXiv · 2026-10-30

- **Problem** Planning collision-free motion for two robots is usually done numerically, because the nonconvex collision constraint has no closed-form solution. Even the two-robot case had no complete analytical answer.
- **Method** The authors derive optimal paths for two robots at rest, sorting them into eight contact families and certifying each with an exact cost identity.
- **Results** The authors prove that every optimal path lies in one plane and falls into one of eight contact families.

## Why closed-form two-robot paths are missing

Two robots that must keep their relative position outside an exclusion zone are usually planned with numerical trajectory optimizers. The nonconvex collision constraint has no simple closed-form solution, so the numerical route stays the default. Even the two-robot case has no complete analytical answer for minimum-effort transitions between endpoint states under double-integrator dynamics.

That case still matters, because it isolates the pairwise interaction that fleet planning is built from.

Earlier closed-form work covers neighbouring problems: Hu et al. minimize squared velocity with free endpoint velocities, and Kirkpatrick and Liu minimize total path length. The squared-acceleration objective is closer to this study, and Beaver and Malikopoulos build trajectories by inserting constrained arcs.

## Contact structure of the optimal relative path

The optimal relative path is built from cubic pieces that meet the separation constraint only at a few times. The authors model the relative position of the first robot against the second under double-integrator dynamics, with a fixed duration and a squared-acceleration cost. Both robots start and end at rest, and the relative path must stay outside a ball of radius R.

Because only the relative position r faces the constraint, the barycenter b is an exact cubic Hermite interpolant and the two trajectories are optimized separately. The constraint is written with the clearance g(t) equal to R squared minus the squared norm of r(t).

The multiplier measure mu is the object that exposes the contact structure of the optimal path. The first-order KKT conditions produce a nonnegative measure mu that satisfies D4t r equal to r mu, with support inside the active set. On a boundary arc, the density of mu sets how fast the jerk changes. The multiplier has no singular-continuous part, and its density is zero almost everywhere outside the arcs.

The baseline is the free cubic, the unconstrained minimizer with the same endpoint states. The free cubic is the cubic Hermite interpolant of the relative endpoint data. Every trajectory with these endpoint states is the free cubic plus a correction h that vanishes at the endpoints together with its velocity. The correction h belongs to the space H\_T, and its acceleration cost adds to the cost of the free cubic.

The scalar Green kernel G\_T(t, s) describes the correction at time t produced by a unit jump in jerk at time s. Summing the corrections from all contacts gives the representation r(t) equal to the free cubic plus the integral of G\_T against r dmu.

## Certifying a candidate with a cost identity

A candidate path is certified by turning its contact multiplier into a correction of the free cubic. The scalar Green kernel G\_T(t, s) gives the correction at time t caused by a unit jerk jump at time s, under zero endpoint position and velocity. Rescaling the unit-interval kernel by T cubed gives the explicit formula (2.3) for 0 ≤ t ≤ s ≤ T.

Adding the corrections from all contacts rebuilds the stationary trajectory as r(t) equals the free cubic plus the integral of G\_T against r over the multiplier, equation (2.4).

The authors compare a candidate q equal to r plus h with the stationary path r through an exact cost identity. The cost gap equals one half of Q\_µ\[h\], plus one half of an integral over the multiplier of the clearance term \|\|q(t)\|\|² minus R². For every feasible q, that clearance integral is nonnegative, so Q\_µ being nonnegative on the correction space certifies global optimality of r.

Theorem 2.5 turns this requirement into a test on projections onto a unit vector e with a number δ ≥ 0. The test needs ⟨e, r̄(t)⟩ ≥ δ and ⟨e, r(t)⟩ \> 0 on the support of µ inside (0, T). Under this test, Q\_µ\[h\] is at least κ\_cert times the squared norm of h, with κ\_cert equal to min{1, δ/R}. The cost gap is then bounded below by κ\_cert over 2 times the squared distance between q and r, and δ \> 0 makes r the unique minimizer.

Geometrically, the contact positions lie in one open hemisphere, so the certificate also rules out trajectories that pass around the opposite side of the ball.

## Eight contact families and their regions

Extra spatial directions can't lower the effort, because every global minimizer lies in a two-dimensional subspace. The authors normalize the data to T = R = 1 and place the start at d0 e1, with the end at rT in the plane spanned by e1 and e2. Data count as blocked when the endpoint segment meets the open unit disk, and then the free cubic is infeasible.

Unblocked data have the free cubic as their unique minimizer, so no contact is needed for them.

For off-axis data the near side is selected, so the unique minimizer stays on the side of the endpoint line away from the disk centre. For blocked symmetric data, the minimizers form the orbit of one upper element under the orthogonal maps that fix both endpoints.

The labels record the contact pattern: P for an isolated contact with positive mass, A for a boundary arc with its endpoint atoms, and F for zero multiplier. Theorem 2.8 states that every selected minimizer carries exactly one of eight labels: F, P, PP, PPP, A, PA, AP or PAP. For isolated contacts, the contact conditions form 3m equations in 3m unknowns, and the atom masses must stay positive.

The authors use the same admissibility rules throughout: positive atom masses, clearance of every free piece, and nonnegative density on any arc.

The regions in endpoint space for the eight labels are pairwise disjoint and cover the data set, so each datum gets one label. The authors show these regions numerically for R = T = 1, with transition surfaces and slices at d0 = 1.15 and d0 = 1.343. The PPP region is narrow enough that the figure needs an inset to magnify it.

![Figure 1: Two-robot contact structure in relative coordinates. (a–c) Numerical contact-family map](https://refivu.com/papers/cd2d05d1-91dc-46cf-af7c-f5945c082a66/figures/figure-8e9a7f0f61b2280645075392707acff7.png?thumb=512)

**Figure 1** : Two-robot contact structure in relative coordinates. (a–c) Numerical contact-family map

[Original paper](https://arxiv.org/abs/2610.41558v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jan Kamm, Antonio Terpin, Raffaello D'Andrea · A complete analytical characterization of optimal collision-free motion for two robots · Original paper figure · Extracted the figure area from page 4 of the original PDF.

## Computing the selected path

Algorithm 2.1 checks the free cubic first, then the P, PP and PPP families, and only then searches the arc families. For the atomic families, Algorithm 2.2 solves the contact system (2.6) for the contact times and jerk jumps, for m = 1, 2, 3. It keeps only the admissible solutions and rebuilds the path with the Green representation (2.4).

If a negative minimum appears, the candidate is rejected, and Theorem 2.5 then certifies the surviving trajectory's optimality.

The arc families need a different route, because their contact parameters can't be solved in closed form by the same system. For each of A, PA, AP and PAP, the parameter vector p holds the ordered contact times, the initial acceleration and jerk, and the nonnegative contact masses m\_i. The trial q\_p follows cubic pieces, adds m\_i q\_p(t\_i) to the jerk at each contact time, and integrates the arc equation.

A trial counts as invalid when a component of position, velocity, acceleration or jerk leaves its fixed range. The search covers the parameter ranges with boxes, one closed rational interval per coordinate of p.

Each box receives a bound on R over the box, including numerical integration errors. A box is discarded only when its lower bound is positive, so a discarded box holds no valid solution. Among the retained boxes, one trial er is chosen, and its distance to every retained trial is bounded in position, velocity and acceleration by ρ. The interval I encloses the costs of all retained trials.

Both ρ and the width of I must be at most ε, and the normalized endpoint data ω are algebraic while ε is rational.

## Limits of the analysis

The analysis doesn't cover pointwise acceleration bounds, and the authors name extending the classification and certificate to them as future work. The paper states the uniqueness failure as a remark, so the nonuniqueness is a fact about the problem, not a numerical artifact.

The characterization is stated for minimum separation R and terminal contact allowed, with ∥r0∥ \> R and ∥rT∥ ≥ R. The numerical procedure is stated for algebraic endpoint data and a rational accuracy ε \> 0, so it doesn't cover arbitrary real inputs.

The fleet-scale planner that builds on this characterization is reported in the companion work \[20\], so its one-million-robot result isn't checked in this paper. The paper says the two-robot characterization underlies that planner, which adds acceleration constraints.

## Paper info

- **Authors**: Jan Kamm, Antonio Terpin, Raffaello D'Andrea
- **Venue**: arXiv · Preprint
- **First published**: 2026-10-30
- **Added**: 2026-11-3
- **Updated**: 2026-10-30
- **Version**: v1
- **arXiv**: 2610.41558
- **Category**: cs.RO · eess.SY · math.OC
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2610.41558v1) · [PDF ↗](https://arxiv.org/pdf/2610.41558v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Collision-free motion planning for multi-agent robotic systems remains an active research area because of the complexity of coordinating robot trajectories, with applications ranging from coordinated drone shows to autonomous operations on land, in the air, and on water. Importantly, the analytical difficulty of nonconvex collision-avoidance constraints has so far driven the development of exclusively numerical methods. We derive a complete analytical characterization of the optimal trajectories for two robots that start and end at rest, under double-integrator dynamics and a squared-acceleration objective. We prove that these trajectories belong to eight distinct contact families and determine which family applies for each configuration of initial and final positions. We analyze the geometrical properties of the optimal trajectories, provide a numerical algorithm for computing them, and discuss how these insights may improve the performance of existing numerical trajectory optimizers.

## Quote from the paper

Jan Kamm, Antonio Terpin, Raffaello D'Andrea (2026). A complete analytical characterization of optimal collision-free motion for two robots. arXiv:2610.41558v1. https://arxiv.org/abs/2610.41558v1

**BibTeX**

```
@misc{kamm2026complete,
  title = {{A complete analytical characterization of optimal collision-free motion for two robots}},
  author = {Jan Kamm and Antonio Terpin and Raffaello D'Andrea},
  year = {2026},
  eprint = {2610.41558},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.41558v1}
}
```

## Other paper commentary

- [Does Validation Loss Predict Real-Robot Success? Evidence from Four Imitation-Learning Policies on a Low-Cost Arm](https://refivu.com/en/papers/2ee1ef0e-8052-42d5-9651-a13f9d8efe51-does-validation-loss-predict-real-robot-success-evidence.md)
- [When the Simulator Fails, Not the Policy: Auditing Contact Artifacts in Simulated Robot Benchmarks](https://refivu.com/en/papers/6acb7321-bd18-4d58-ac5d-204a2852ff4f-when-the-simulator-fails-not-the-policy-auditing.md)
- [Gym-Anything for Robotics: Scaling physical simulations with digital agents](https://refivu.com/en/papers/bd6018c8-7e86-43e6-bd76-05c57194149c-gym-anything-for-robotics-scaling-physical-simulations-with.md)
- [EmbodiedLab: Benchmarking Embodied Agents That Act to Know](https://refivu.com/en/papers/db9dafac-e675-4429-8d4f-1cea4451726d-embodiedlab-benchmarking-embodied-agents-that-act-to-know.md)
- [Reflex: Visually Grounded Reactive Humanoid Control](https://refivu.com/en/papers/93a6e2bc-93e7-4baf-b5a1-a1cba6791609-reflex-visually-grounded-reactive-humanoid-control.md)
- [Has GPT-6-Astra Achieved Embodied Intelligence?](https://refivu.com/en/papers/097774ed-6bdf-4e1b-809e-956c5d62a60d-has-gpt-6-astra-achieved-embodied-intelligence.md)
- [DAPS: Dependency-Aware Premise Selection for LLM Theorem Proving](https://refivu.com/en/papers/a7ae9d0f-ded1-4286-bd70-8a5526753610-daps-dependency-aware-premise-selection-for-llm-theorem.md)
- [Infinite ResNets are Gaussian Mean ODEs](https://refivu.com/en/papers/0621dc56-f1ec-450b-a73b-99b02aadc462-infinite-resnets-are-gaussian-mean-odes.md)
- [When Does Test-Time Search Help World Action Models? An Empirical Audit of Candidate Selection and Simulator Integrity](https://refivu.com/en/papers/873b9073-03fe-4e85-946b-d739c8250c10-when-does-test-time-search-help-world-action.md)
- [Fidelity Collapses with Table Size, Not Turn Count: Delivery Architecture in a Deployed Tool-Using Agent](https://refivu.com/en/papers/34076b48-af00-4003-899f-7507faf9f827-fidelity-collapses-with-table-size-not-turn-count.md)
- [BlindToChange: AI Agents Can Find Changes When Asked But Do They Look When Needed?](https://refivu.com/en/papers/c83614fd-7f10-4160-93dd-e1f5db8363de-blindtochange-ai-agents-can-find-changes-when-asked.md)
- [GraphNIAH: A Benchmark for Long-Context Reasoning over Real-World Graphs](https://refivu.com/en/papers/379f5ec1-86ec-443c-aa89-b520d89b337f-graphniah-a-benchmark-for-long-context-reasoning-over.md)

## Terms in this paper

- [double-integrator dynamics](https://refivu.com/en/terms/c443d83326b0-double-integrator-dynamics)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/cd2d05d1-91dc-46cf-af7c-f5945c082a66-a-complete-analytical-characterization-of-optimal-collision)
