Riemannian Direct Trajectory Optimization of Rigid Bodies on Matrix Lie Groups
Sangli Teng, Tzu-Yuan Lin, William A Clark, Ram Vasudevan, Maani Ghaffari
TL;DR
The paper addresses dynamical trajectory optimization for rigid bodies by formulating the problem on matrix Lie groups and solving it with constrained Riemannian optimization. It combines a Lie Group Variational Integrator (LGVI) for discrete dynamics on $\mathrm{SO}(3)\times \mathbb{R}^3$ with a line-search Riemannian Interior Point Method (RIPM) to handle nonlinear equality/inequality constraints, preserving topology and avoiding singularities. Key contributions include exact closed-form first- and second-order Riemannian derivatives of the dynamics, a linear-cost differentiation framework with respect to horizon and DOF, and an open-source implementation showing order-of-magnitude speedups over traditional ambient-space solvers on challenging drone and manipulator tasks. The work significantly advances fast, topology-aware motion planning for full rigid-body dynamics and scales to multi-body systems while maintaining dynamical feasibility. The approach has practical impact for real-time or near-real-time planning in robotics, where topology preservation and efficient optimization are critical.
Abstract
Designing dynamically feasible trajectories for rigid bodies is a fundamental problem in robotics. Although direct trajectory optimization is widely applied to solve this problem, inappropriate parameterizations of rigid body dynamics often result in slow convergence and violations of the intrinsic topological structure of the rotation group. This paper introduces a Riemannian optimization framework for direct trajectory optimization of rigid bodies. We first use the Lie Group Variational Integrator to formulate the discrete rigid body dynamics on matrix Lie groups. We then derive the closed-form first- and second-order Riemannian derivatives of the dynamics. Finally, this work applies a line-search Riemannian Interior Point Method (RIPM) to perform trajectory optimization with general nonlinear constraints. As the optimization is performed on matrix Lie groups, it is correct-by-construction to respect the topological structure of the rotation group and be free of singularities. The paper demonstrates that both the derivative evaluations and Newton steps required to solve the RIPM exhibit linear complexity with respect to the planning horizon and system degrees of freedom. Simulation results illustrate that the proposed method is faster than conventional methods by an order of magnitude in challenging robotics tasks.
