Robot Locomotion Group
RQE Presentation - February 12, 2025
https://mapsplatform.google.com/maps-products/routes/
Broadly speaking
What has changed?
https://github.com/ethz-asl/amr_visualisations
Task Space
Configuration Space
Michigan Robotics 320, Lecture 15
Standard algorithms include PRM (Kavraki 1996), PRM* (Karaman 2011), and SPARS (Dobson 2012).
Pathfinding with Rapidly-Exploring Random Tree, Knox
Tree-based roadmap generators include RRT (LaValle 1998), EST (Hsu 1999), STRIDE (Gipson 2013), and FMT (Janson 2015).
Underactuated Robotics, Russ Tedrake
Control points of a trajectory are decision variables.
Use costs and constraints to enforce objectives, dynamics, and more.
Trajectory optimization approaches include STOMP (Kalakrishnan 2011), CHOMP (Zucker 2013), KOMO (Toussaint 2014), ALTRO (Howell 2019), cuRobo (Sundaralingam 2023).
+Global (probabilistic) completeness
-"Curse of Dimensionality"
-Non-smooth paths
-Nonconvex
+Scales with dimension
+Smooth paths, dynamics
Motion Planning, Wikipedia
+Global
-"Curse of Dimensionality"
-Non-smooth paths
-Nonconvex
+Scales with dimension
+Smooth paths, dynamics
Motion Planning, Wikipedia
+Global (probabilistic) completeness
-"Curse of Dimensionality"
-Non-smooth paths
-Nonconvex
+Scales with dimension
+Smooth paths, dynamics
Reproduced from Slides for the Technion Robotics Seminar, Russ Tedrake
Motion Planning around Convex Obstacles with Convex Optimization, Marcucci et. al.
Convex obstacle avoidance guarantees!
Existing approaches include
A directed graph \(G=(V,E)\)
Main Reference: Shortest Paths in Graphs of Convex Sets, Marcucci et. al.
\(\mathcal X_u\)
\(\mathcal X_v\)
\(\ell_{(u,v)}\)
Trajectory Optimization on Manifolds: A Theoretically-Guaranteed Embedded Sequential Convex Programming Approach, Bonalli et. al.
For a curve \(\gamma\) connecting two points \(\gamma(0),\gamma(1)\in\mathbb R^n\) , its arc length is
\[L(\gamma)=\int_0^1||\dot\gamma(t)||\,\mathrm{d}t=\int_0^1\sqrt{\left<\dot\gamma(t),\dot\gamma(t)\right>}\,\mathrm{d}t\]
Does this work on manifolds?
Textbook references: Smooth Manifolds (Lee 2012), Introduction to Riemannian Manifolds (Lee 2018), and Riemannian Geometry (do Carmo 1992).
Arc length depends on the parameterization of the charts
List of Map Projections, Wikipedia
Given a point \(x\in M\), we can consider the velocity of curves that pass through \(x\)
This forms a vector space \(T_xM\), called the tangent space
Tangent Space, Wikipedia
A Riemannian Metric assigns an inner product \(\left<\cdot,\cdot\right>_g\) to each tangent space.
The "speed" of a curve \(\gamma\) at time \(t\) is \(\sqrt{\left<\dot\gamma(t),\dot\gamma(t)\right>_g}\)
The arc length of \(\gamma\) is \[ L(\gamma)=\int_a^b \sqrt{\left<\dot\gamma(t),\dot\gamma(t)\right>_{g}}\,\mathrm dt\]
This integral is parametrization-independent
Geodesics on Surfaces by Variational Calculus, Villanueva
The Curvature and Geodesics of the Torus, Irons
The arc length equation gives us a distance metric
\[d(p,q)=\inf\{L(\gamma)\,|\,\gamma\in\mathcal{C}^{1}_{\operatorname{pw}}([0,1],\mathcal{M}),\\\gamma(0)=p,\gamma(1)=q\}\]
Curves which minimize this function are called geodesics.
A set \(X\subseteq\mathbb{R}^n\) is convex if \(\forall p,q\in X\), the line connecting \(p\) and \(q\) is contained in \(X\)
A set \(X\subseteq\mathcal{M}\) is geodesically convex (or g-convex) if \(\forall p,q\in X\), there is a unique length-minimizing geodesic (w.r.t. \(\mathcal{M}\)) connecting \(p\) and \(q\), which is completely contained in \(X\).
Convex Set, Wikipedia
Textbook references: Convex Optimization (Boyd 2004) and An Introduction to Optimization on Manifolds (Boumal 2023).
Sets can be convex in local coordinates, but not geodesically-convex on the manifold
Geodesics can go "the wrong way around"
Radius of convexity: how large can a set be and still be convex?
Which Continent Is Situated In All Four Hemispheres?, Junior
A function \(f:X\to\mathbb{R}\) is convex if for any \(x,y\in X\) and \(\lambda\in[0,1]\), we have
\[f(\lambda x+(1-\lambda)y)\le\]
\[\lambda f(x)+(1-\lambda) f(y)\]
A function \(f:\mathcal{M}\to\mathbb{R}\) is geodesically convex if for any \(x,y\in \mathcal{M}\) and any geodesic \(\gamma:[0,1]\to\mathcal{M}\) such that \(\gamma(0)=x\) and \(\gamma(1)=y\), \(f\circ\gamma\) is convex
Hyperskill: Convex Functions, Patil
Configuration space \(\mathcal{Q}\) as a Riemannian manifold
\(\mathcal{M}\subseteq\mathcal{Q}\) is the set of collision free configurations, \(\bar{\mathcal{M}}\) its closure
The shortest path between \(p,q\in\bar{\mathcal{M}}\) is the solution to the optimization problem
\[\begin{array}{rl} \argmin & L(\gamma)\\ \textrm{subject to} & \gamma\in\mathcal{C}^{1}_{\operatorname{pw}}([0,1],\bar{\mathcal{M}})\\ & \gamma(0)=p\\ & \gamma(1)=q\end{array}\]
A directed graph \(G=(V,E)\)
For each \(v\in V\), let \(\psi_v:\mathcal{Y}_v\to\mathbb{R}^n\) be a coordinate chart
Define \(X_v=\psi_v(\mathcal{Y}_v)\)
For each \(e=(u,v)\in E\), new edge cost:
\[\ell_e(x_u,x_v)=\ell_e^\mathcal{Y}(\psi_u^{-1}(x_u),\psi_v^{-1}(x_v))\]
If all \(X_v\) and \(\ell_e\) are convex, we have a valid GCS problem
Mixed-Integer Riemannian Optimization? No existing literature.
Better option: transform into a GCS problem
Have to consider the curvature of the manifold.
Positive curvature
E.g. \(S^n,\operatorname{SO}(3),\operatorname{SE}(3)\)
Negative curvature
E.g. Saddle, PSD Cone \(\vphantom{S^n}\)
Zero curvature
E.g. \(\mathbb R^n, \mathbb T^n\)
?
Fetch Robot Configuration
Space: \(\operatorname{SE}(2)\times \mathbb{T}^3\times \mathbb{R}^7\)
Trajectory Control for Differential Drive Mobile Manipulators, Karunakaran and Subbaraj
Square with opposite edges identified
Configuration Space: \(\mathbb{T}^2\)
A robot arm with 5 continuous revolute joints in the plane
Configuration Space: \(\mathbb{T}^5\)
(No self collisions)
Black: Shortest path on PL approximation
Red: Shortest path on sphere
Intuition: How much does the Jacobian of the chart vary?
Intuition: The amount we can "slip" along the boundary also depends on the Hausdorff distance \(\epsilon_H\) between the manifold and its triangulation, as well as the angle \(\alpha_{\operatorname{max}}\) between adjacent charts.
Intuition: The error grows additively with the number of sets traversed in the optimal path.
Recall that \(\operatorname{SE}(3)\) is just \(\operatorname{SO}(3)\times\mathbb R^3\)
Three representations for \(\operatorname{SO}(3)\):
Notation: \(S^n\) is the \(n\)-sphere. (\(S^1\) is the circle, \(S^2\) is the ordinary sphere in 3D space, etc.)
Randomly sample \(n\) start and goal pairs, plan between them with each approximation.
Compute the true distance, and explore the error distribution.
(Low Resolution Quaternion Approximation)
(High Resolution Quaternion Approximation)
Sample path between a start/goal pair.
The large gap in the center gives room for the block to reorient itself.
Learning the Metric of Task Constraint Manifolds for Constrained Motion Planning, Zha et. al.
Constrained Bimanual Planning with Analytic Inverse Kinematics, Thomas Cohn, Seiji Shaw, Max Simchowitz, Russ Tedrake
Constrained Bimanual Planning with Analytic Inverse Kinematics, Thomas Cohn, Seiji Shaw, Max Simchowitz, Russ Tedrake
Planning Shorter Paths in Graphs of Convex Sets by Undistorting Parametrized Configuration Spaces, Shruti Garg, Thomas Cohn, and Russ Tedrake
Planning Shorter Paths in Graphs of Convex Sets by Undistorting Parametrized Configuration Spaces, Shruti Garg, Thomas Cohn, and Russ Tedrake
Robot Locomotion Group
RQE Presentation - February 12, 2025