September 23, 2026
Presentation for the MIT REx Lab group meeting
Robot Locomotion Group
Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems
Thomas Cohn, Robot Locomotion Group, MIT CSAIL
Toyota Research Institute
Boston Dynamics
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
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
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
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}\]
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}\]
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}\]
Thomas Cohn, Robot Locomotion Group, MIT CSAIL
Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems
\[\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\)
Thomas Cohn, Robot Locomotion Group, MIT CSAIL
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
Trajectory Optimization
Sampling-Based Planning
Graphs of Convex Sets
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):
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):
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
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.
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
The analytic IK function will have domain limited functions
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(\pi(t))=\left\{\begin{array}{ll}\arccos(-1) & t <=-1\\ \arccos(t) & -1<t<1\\ \arccos(1) & t\ge 1\end{array}\right.\]
\[\sqrt{\pi(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
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:
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
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!
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 constraint | IrisNp2 (s) | Trajopt (s) |
|---|---|---|
| Direct \(\|\operatorname{FK}(\operatorname{IK}(X,\psi))-X\|=0\) | 1.14 | 1.54 |
| Probing \(\mathcal D_k\ge0\) | 1.03 | 0.98 |
| Boundary (coming up) | 1.08 | 1.24 |
Active everywhere ⇒ 10% slower regions, 50% slower trajopt
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
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
Intuition: to differentiate through inverse kinematics, we just need to differentiate through forward kinematics!
(Spivak 1965) Suppose that \(f:\mathbb{R}^n\to\mathbb{R}^n\) is continuously differentiable in an open set containing \(a\), and \(\det f'(a)\ne 0\). Then there is an open set \(V\) containing \(a\) and an open set \(W\) containing \(f(a)\) such that \(f:V\to W\) has a continuous inverse \(f^{-1}:W\to V\) which is differentiable and for all \(y\in W\) satisfies \((f^{-1})'(y)=[f'(f^{-1}(y))]^{-1}\).
Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems
Thomas Cohn, Robot Locomotion Group, MIT CSAIL
Rough procedure:
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}\]
Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems
Thomas Cohn, Robot Locomotion Group, MIT CSAIL
Procedure:
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.
We only need a vaguely reasonable answer.
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\]
Amenable to approximation (Levenberg-Marquardt, residual damping, etc.)
Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems
Thomas Cohn, Robot Locomotion Group, MIT CSAIL
Recall:
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
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
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
| Gradient method (bimanual iiwa) | IrisNp2 (s) | Trajopt (s) |
|---|---|---|
| Autodiff baselines (bespoke IK) | ||
| Autodiff, direct reachability | 1.14 | 1.54 |
| Autodiff, probing reachability | 1.03 | 0.98 |
| Autodiff, boundary reachability | 1.08 | 1.24 |
| IFT, direct reachability | ||
| Zero gradients | 4.11 | 1.35 |
| Pseudoinverse | 4.12 | 1.31 |
| LM constant | 3.12 | 1.42 |
| LM SVT | 2.22 | 1.49 |
| Residual damping | 1.58 | 1.76 |
| Anisotropic damping | 1.72 | 2.52 |
| Full Newton | 1.71 | 1.43 |
| IFT, boundary reachability | ||
| Zero gradients | 1.64 | 1.20 |
| Pseudoinverse | 1.75 | 1.23 |
| LM constant | 2.51 | 1.31 |
| LM SVT | 1.29 | 1.21 |
| Residual damping | 1.15 | 1.24 |
| Anisotropic damping | 1.15 | 1.23 |
| Full Newton | 1.17 | 1.20 |
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
Optimization IK
Planning
Arm on a table · grasp selection · mobile manipulator · bimanual mobile manipulator · humanoid stability · UR5e grasp selection (EAIK)
IRIS-NP2 regions · iiwa bimanual · RB-Y1 box pickup
Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems
Thomas Cohn, Robot Locomotion Group, MIT CSAIL
| Gradient outside the reachable set | IrisNp2 (s) |
|---|---|
| Bespoke autodiff, probing reach | 1.03 |
| IFT, zero gradient, direct reach | 4.11 |
| IFT, pseudoinverse, direct reach | 4.12 |
| IFT, residual damping, direct reach | 1.58 |
| IFT, residual damping, boundary reach | 1.15 |
4× from the gradient choice alone
Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems
Thomas Cohn, Robot Locomotion Group, MIT CSAIL
| Formulation | Success (1 init) | Success (3 init) | Mean cost | Mean t (s) | Median t (s) |
|---|---|---|---|---|---|
| C-space baseline | 46.5% | 86% | 12.68 | 0.357 | 0.105 |
| IFT, direct reach. | 61.4% | 93% | 13.30 | 0.719 | 0.100 |
| IFT, boundary reach. | 63.2% | 90% | 13.53 | 0.776 | 0.110 |
Also: other IK setups (arm on a table, mobile manipulator, bimanual mobile manipulator, humanoid stability)
Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems
Thomas Cohn, Robot Locomotion Group, MIT CSAIL
| Solver / setting | Converged | Feasible | Time (s) | Cost |
|---|---|---|---|---|
| SNOPT, optimality tol 1e-1 … 1e-3 | yes | yes | 2.0 | 1.59 |
| SNOPT, optimality tol 1e-6 (default) | no | yes | 19.4 | 1.36 |
| IPOPT, penalty line search | yes | yes | 40.9 | 1.36 |
| IPOPT, default (filter line search) | no | yes | 60.1 | 1.38 |
Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems
Thomas Cohn, Robot Locomotion Group, MIT CSAIL
| Instance | Symptom |
|---|---|
| iiwa trajopt (SNOPT) | tol 1e-3: 2 s → tol 1e-6: 19 s, not converged |
| RB-Y1 trajopt (SNOPT) | 52 failures: 42 time limit, 8 iteration limit, 0 infeasible |
| UR5e IK (SNOPT) | iteration-limit exits 177 / 137 / 114 per 1,000; clock: 1 |
| IRIS-NP2 (SNOPT) | 4.11 s vs 1.15 s from the gradient choice alone |
Motion Planning in Minimal Coordinates for Kinematically-Constrained Systems
Thomas Cohn, Robot Locomotion Group, MIT CSAIL
September 23, 2026
Presentation for the MIT REx Lab group meeting
Robot Locomotion Group