Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn

October 29, 2026

Presentation for the Robots Perceiving And Doing (R-PAD) Lab, Carnegie Mellon University

Robot Locomotion Group

Which Kinematically-Constrained Systems?

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Toyota Research Institute

Boston Dynamics

The Configuration-Space Picture

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

 Learning the Metric of Task Constraint Manifolds for Constrained Motion Planning, Zha et al. 2018

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

The Predominant, "Extrinsic" Approach

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Sampling-Based Methods for Motion Planning with Constraints, Kingston et al. 2018

Sampling-Based Planners

Trajectory Optimizers

Trajectory Optimization on Manifolds: A Theoretically-Guaranteed Embedded Sequential Convex Programming Approach, Bonalli et al. 2019

Direct Collocation Methods for Trajectory Optimization in Constrained Robotic Systems, Bordalba et al. 2022

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

An "Intrinsic" Alternative?

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

"Would be great if we could do it, but difficult or impossible in practice"

Paraphrased from the textbooks of LaValle, Latombe, Siciliano and Khatib, Lynch and Park.

Trajectory Optimization On Manifolds with
Applications to \(SO(3)\) and \(\mathbb{R}^3 \times S^2\), Watterson et al. 2018

Riemannian Direct Trajectory Optimization of Rigid Bodies on Matrix Lie Groups, Teng et al. 2025

A Constrained Motion Planning Method Exploiting Learned Latent Space for High-Dimensional State and Constraint Spaces, Park et al. 2024

  1. Planning with Parameterizations
    1. Properties of parameterizations
    2. Formal problem statement
  2. Building Parameterizations with Analytic IK
    1. Resolving the "many-to-one" problem
    2. Reachability constraints
  3. Gradients through IK Solvers (without Introspection)
    1. The inverse function theorem
    2. Domain extensions
    3. Boundary reachability

Outline for the Remainder of the Talk

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Collision-Free Motion Planning Problem:

\[\begin{array}{rl}\min_\gamma & L(\gamma)\\ \operatorname{s.t.} & \gamma:[0,1]\to\mathbb R^n\\ & \gamma(0)=q_0,\gamma(1)=q_1\\ & g(\gamma(t))\le 0,\forall t\in[0,1]\end{array}\]

Constrained Collision-Free Motion Planning Problem:

\[\begin{array}{rl}\min_\gamma & L(\gamma)\\ \operatorname{s.t.} & \gamma:[0,1]\to\mathbb R^n\\ & \gamma(0)=q_0,\gamma(1)=q_1\\ & g(\gamma(t))\le 0,\forall t\in[0,1]\\ & h(\gamma(t))=0,\forall t\in[0,1]\end{array}\]

The Constrained Planning Problem

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Constrained Collision-Free Motion Planning Problem:

\[\begin{array}{rl}\min_\gamma & L(\gamma)\\ \operatorname{s.t.} & \gamma:[0,1]\to\mathbb R^n\\ & \gamma(0)=q_0,\gamma(1)=q_1\\ & g(\gamma(t))\le 0,\forall t\in[0,1]\\ & h(\gamma(t))=0,\forall t\in[0,1]\end{array}\]

  • Constraint manifold \(\mathcal M=\{q\in\mathbb R^n:h(q)=0\}\)
  • Parameterization \(\phi:\mathcal V\to\mathcal M\), reachable domain \(\mathcal V\subseteq\mathbb R^m\)
  • Note:
    • \(\phi\) is differentiable almost everywhere
    • \(\phi(\mathcal V)\subsetneq\mathcal M\) (don't have to cover all of \(\mathcal M\))
    • \(\phi\) defined for all \(\mathbb R^m\) (but arbitrary values outside \(\mathcal V\))

Assume a Parameterization

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

\[\begin{array}{rl}\min_\gamma & L(\gamma)\\ \operatorname{s.t.} & \gamma:[0,1]\to\mathbb R^n\\ & \gamma(0)=q_0,\gamma(1)=q_1\\ & g(\gamma(t))\le 0,\forall t\in[0,1]\\ & h(\gamma(t))=0,\forall t\in[0,1]\end{array}\]

\[\begin{array}{rl}\min_{\tilde\gamma}& L(\phi\circ\tilde\gamma)\\ \operatorname{s.t.} & \tilde\gamma:[0,1]\to\mathcal V\\ & \tilde\gamma(0)=\tilde q_0,\tilde\gamma(1)=\tilde q_1\\ & g((\phi\circ\tilde\gamma)(t))\le 0,\forall t\in[0,1]\\ & h((\phi\circ\tilde\gamma)(t))=0,\forall t\in[0,1]\end{array}\]

The Parameterized Planning Problem

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

  • Constraint manifold \(\mathcal M=\{q\in\mathbb R^n:h(q)=0\}\)
  • Parameterization \(\phi:\mathcal V\to\mathcal M\), reachable domain \(\mathcal V\subseteq\mathbb R^m\)
  • Note:
    • \(\phi\) is differentiable almost everywhere
    • \(\phi(\mathcal V)\subsetneq\mathcal M\) (don't have to cover all of \(\mathcal M\))
    • \(\phi\) defined for all \(\mathbb R^m\) (but arbitrary values outside \(\mathcal V\))

\[\begin{array}{rl}\min_{\tilde\gamma}& L(\phi\circ\tilde\gamma)\\ \operatorname{s.t.} & \tilde\gamma:[0,1]\to\mathcal V\\ & \tilde\gamma(0)=\tilde q_0,\tilde\gamma(1)=\tilde q_1\\ & g((\phi\circ\tilde\gamma)(t))\le 0,\forall t\in[0,1]\\ & h((\phi\circ\tilde\gamma)(t))=0,\forall t\in[0,1]\end{array}\]

"Reachability Constraint"

Assume we can construct \(\tilde q_i\) such that \(\phi(\tilde q_i)=q_i\), \(i\in\{0,1\}\).

Becomes more Complicated

Eliminated by Construction: \(\tilde\gamma(t)\in\mathcal V\Rightarrow h((\phi\circ\tilde\gamma)(t))=0\)

The Parameterized Planning Problem

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Planning Examples

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Trajectory Optimization

Sampling-Based Planning

Graphs of Convex Sets

Parameterizing Kinematic Graphs

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Key idea (Han and Amato 2001; Xie and Amato 2004):

  • Split into active and passive chains
  • Specify active chains as input
  • Solve for passive chains with IK

Parameterizing Kinematic Graphs

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Key idea (Han and Amato 2001; Xie and Amato 2004):

  • Split into active and passive chains
  • Specify active chains as input
  • Solve for passive chains with IK

A Worked Example: Bimanual

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

\(\phi(q_c,\psi_s)=\big(q_c,\ \operatorname{IK}({}^W\!X^{E_s}(q_c),\psi_s)\big)\): 7 controlled joints + 1 self-motion parameter \(\mapsto\) 14 joint angles

Analytic Inverse Kinematics and Self-Motion

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Analytic IK can be written as a function

\[\operatorname{IK}:\operatorname{SE}(3)\times\Psi\times\mathscr{K}\to\mathbb{R}^n,\]

where \(\Psi\) are continuous redundancy parameters and \(\mathscr{K}\) are discrete redundancy parameters.

Choosing \(\psi\in\Psi\) and \(\kappa\in\mathscr{K}\) uniquely specifies an IK solution, resolving the "many-to-one" problem.

Reachability Constraints

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

  • For most robots, \(\operatorname{IK}\) is not defined on all of \(\operatorname{SE}(3)\)
    • (Obvious example: a robot arm bolted to a table has limited reach)
    • This is the drawback of the floating hand model
  • Our framework really requires two key ingredients
    • A parameterization (i.e., an IK function)
    • An optimization-amenable description of its domain
  • What does "optimization-amenable" entail?
    • Return a value outside the domain
    • Gradient signal back towards the domain

A Straightforward Domain Extension

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

The analytic IK function will have domain-limited functions

  • \(\arccos(\cdot):[-1,1]\to\mathbb{R}\)
  • \(\sqrt{\cdot}:[0,\infty)\to\mathbb{R}\)

Position-based kinematics for 7-DoF serial manipulators with global configuration control, joint limit and singularity avoidance, Faria et al. 2018

Replace with domain-extended versions, e.g.,

\[\arccos(\operatorname{proj}(t))=\left\{\begin{array}{ll}\arccos(-1) & t\le -1\\ \arccos(t) & -1<t<1\\ \arccos(1) & t\ge 1\end{array}\right.\]

\[\sqrt{\operatorname{proj}(t)}=\left\{\begin{array}{ll}\sqrt{0} & t\le 0\\ \sqrt{t} & 0 < t\end{array}\right.\qquad\qquad\]

Closed-Form Inverse Kinematic Joint Solution for Humanoid Robots, Ali et al. 2010

"Direct" Reachability Constraint

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

This extends the domain of \(\operatorname{IK}\) to all of \(\operatorname{SE}(3)\times\Psi\times\mathscr K\), but now it is "incorrect" for nonreachable poses.

Impose the constraint

\[\|\operatorname{FK}(\operatorname{IK}(X,\psi,\kappa))-X\|=0\]

Some properties:

  • Positive-measure feasible set
  • Always active at a feasible \((X,\psi,\kappa)\) -- even if this isn't on the boundary of the reachable set!

"Probing" Reachability Constraint

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Position-based kinematics for 7-DoF serial manipulators with global configuration control, joint limit and singularity avoidance, Faria et al. 2018

Closed-Form Inverse Kinematic Joint Solution for Humanoid Robots, Ali et al. 2010

The analytic IK function will have domain-limited functions

  • \(\arccos(\cdot):[-1,1]\to\mathbb{R}\)
  • \(\sqrt{\cdot}:[0,\infty)\to\mathbb{R}\)

Define probing functions

\[\mathcal{D}_k:\operatorname{SE}(3)\times\Psi\times\mathscr K\to\mathbb R\]

such that

\[\mathcal{D}_k\ge 0,\forall k\Leftrightarrow \textrm{reachable}\]

Constraint only active on boundary: much better for optimization!

Does the Reachability Constraint Matter?

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Same chart, same autodiff gradients, same solver (SNOPT)

Reachability constraintTrajopt (s)
Direct  \(\|\operatorname{FK}(\operatorname{IK}(X,\psi))-X\|=0\)1.54
Probing  \(\mathcal D_k\ge0\)0.98

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Planning with Graphs of Convex Sets

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Convex Regions along the Manifold (IrisNp2)

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

The Catch: You Need a Bespoke IK Function

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

  • We want to use our method with all the robots
  • We want to allow people to use any IK function they have
  • Main target: codegen tools like IKFast
  • What do we lose?
    • Autodiff support
    • Reachability probing functions

The Inverse Function Theorem

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Intuition: to differentiate through inverse kinematics, we just need to differentiate through forward kinematics!

If \(Df(a)\) is invertible, then \(f^{-1}\) exists near \(f(a)\), and

\[D(f^{-1})(f(a))=[Df(a)]^{-1}\]

Calculus on Manifolds, Spivak 1965

Gradients from the IFT

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Rough procedure:

  1. Compute value \(q=\operatorname{IK}({}^W\!X^G,\psi)\)
  2. Compute augmented Jacobian \(J_A=D\operatorname{FK}_A(q)\)
  3. Compute \(\frac{\partial q}{\partial y}=J_A^{-1}\big(\frac{\partial X}{\partial y},\frac{\partial\psi}{\partial y}\big)^T\)

Or equivalently, solve the linear system \(J_A\,\frac{\partial q}{\partial y}=\big(\frac{\partial X}{\partial y},\frac{\partial\psi}{\partial y}\big)^T\)

Augmented FK \(\operatorname{FK}_A:q\mapsto({}^W\!X^G,\psi)\) is invertible, and

\[D\operatorname{FK}_A=\begin{bmatrix}D\operatorname{FK}\\ D\operatorname{FK}_\psi\end{bmatrix},\qquad D\operatorname{FK}_\psi=[\ldots,0,1,0,\ldots]\ \text{if}\ \psi\ \text{is a joint angle}\]

Direct Numerical Comparison

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Procedure:

  1. Sample reachable configurations
  2. Sample random partial derivative vectors
  3. Compute derivatives via autodiff and IFT, compare

Domain Extensions (More Rigorously)

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Suppose we write

\[\widehat{\operatorname{IK}}({}^W\!X^G,\psi)=\arg\min_{q}\ \big\|\operatorname{FK}_A(q) - ({}^W\!X^G,\psi)\big\|^2\]

Note: this is not actually what our extensions are doing.

  • Our clipping is a greedy projection in some space
  • IK-Geo does an iterative least squares projection
  • Worst-case naive strategy: bisection to a canonical reachable configuration

We only need a vaguely reasonable answer.

Derivative via Sensitivity Analysis

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Suppose we write

\[\widehat{\operatorname{IK}}({}^W\!X^G,\psi)=\arg\min_{q}\ \big\|\operatorname{FK}_A(q) - ({}^W\!X^G,\psi)\big\|^2\]

  • Obtain gradient \[D\widehat{\operatorname{IK}}({}^W\!X^G,\psi)=\left(J_A^TJ_A+\sum_{i=1}^nr_iH_i\right)^{-1}J_A^T,\] \(J_A=D\operatorname{FK}_A(q)\), \(H_i=D_q[J_A]_i\), \(r_i\) is the \(i\)th component of the residual \(r=\operatorname{FK}_A(q)-({}^W\!X^G,\psi)\)
  • If reachable, \(r_i=0\), so we recover the inverse function theorem when \(J_A\) is nonsingular \[D\widehat{\operatorname{IK}}({}^W\!X^G,\psi)=\left(J_A^TJ_A\right)^{-1}J_A^T=J_A^\dagger=J_A^{-1}\]

Amenable to approximation (Levenberg-Marquardt, residual damping, etc.)

Boundary Reachability

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Recall:

  • Direct reachability is always active
     ⮑ Difficult for optimizers to use!
  • Probing reachability requires privileged information
     ⮑ Incompatible with black-box IFT treatment

Fun fact:

Configurations in the preimage of the workspace boundary have a singular Jacobian!

 

(Result follows by the open mapping corollary of the IFT.)

Singularity robust algorithm in serial manipulators, Oetomo and Ang 2009

Boundary Reachability

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Fun fact:

Configurations in the preimage of the workspace boundary have a singular Jacobian!

 

(Result follows by the open mapping corollary of the IFT.)

Singularity robust algorithm in serial manipulators, Oetomo and Ang 2009

  • Enforce \(-\log\det(J(q)J(q)^T+\epsilon I)\le\tau\) for robot-dependent constants \(\epsilon,\tau\).
  • Only active on the boundary (like probing reachability), no IK internals needed

Boundary Reachability in Action

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Boundary Reachability Results

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Gradient method (bimanual iiwa)IrisNp2 (s)Trajopt (s)
Autodiff baselines (bespoke IK)
Autodiff, direct reachability1.141.54
Autodiff, probing reachability1.030.98
Autodiff, boundary reachability1.081.24
IFT, direct reachability
Zero gradients4.111.35
Pseudoinverse4.121.31
LM constant3.121.42
LM SVT2.221.49
Residual damping1.581.76
Anisotropic damping1.722.52
Full Newton1.711.43
IFT, boundary reachability
Zero gradients1.641.20
Pseudoinverse1.751.23
LM constant2.511.31
LM SVT1.291.21
Residual damping1.151.24
Anisotropic damping1.151.23
Full Newton1.171.20
  • IrisNp2 is a reachability optimization "challenge" problem
  • Can match autodiff performance, with
    • IFT gradients
    • Boundary reachability
    • Gradient regularization

Box Pickup with Stability Constraints

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

What's Next?

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Switching Between IK Branches

  • Self motion manifolds are not homotopic when switching branches
  • Leads to numerical instability or invalid representations

Branch Tracking with Generic IK Methods

  • Generic IK methods (e.g. polynomial elimination) do not "sort" solutions
  • Cuspidal manipulators may not even be "sortable"

Path planning and optimization for cuspidal 6R manipulators, Elias and Wen 2025

The Floating Hand Model and Robot Learning

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Universal Manipulation Interface: In-The-Wild Robot Teaching Without In-The-Wild Robots, Chi et al. 2024

A Careful Examination of Large Behavior Models for Multitask Dexterous Manipulation, TRI LBM Team 2025

Try it Out for Yourself!

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Constrained bimanual planning tutorial repository covers

  • Parameterization construction
  • Costs and constraints (including reachability constraints)
  • Motion planning with RRT, Trajopt, and GCS
  • TOPPRA retiming for dynamics limits

Built upon Drake, includes C++ and Python implementations.

Thanks to My Collaborators on this Project

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn, Robot Locomotion Group, MIT CSAIL

Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems

Thomas Cohn

October 29, 2026

Presentation for the Robots Perceiving And Doing (R-PAD) Lab, Carnegie Mellon University

Robot Locomotion Group

Tutorial repository

RPAD Talk Slides

By tcohn

RPAD Talk Slides

  • 40