Geometric Algebra for Optimal Control with Applications in Manipulation Tasks
Tobias Löw, Sylvain Calinon
TL;DR
The paper proposes geometric algebra (GA), and in particular conformal GA, as a unifying framework for robot geometry that seamlessly integrates kinematics, dynamics, and optimization. It extends serial-manipulator dynamics to include a position-dependent inertia tensor, and formulates cost functions for IK and optimal control directly in the motor and primitive representations, enabling uniform handling of points, lines, planes, and higher-order primitives. A hands-on contribution is gafro, an open-source library with a fast CGA-based implementation that achieves faster kinematics than traditional libraries and supports MPC/iLQR-style optimization with GA-based costs. The experiments on a Franka Emika robot demonstrate accurate inverse dynamics control, fast IK solutions, and versatile reaching tasks across multiple geometric primitives, highlighting GA's practical impact for real-time robotic manipulation and planning.
Abstract
Many problems in robotics are fundamentally problems of geometry, which lead to an increased research effort in geometric methods for robotics in recent years. The results were algorithms using the various frameworks of screw theory, Lie algebra and dual quaternions. A unification and generalization of these popular formalisms can be found in geometric algebra. The aim of this paper is to showcase the capabilities of geometric algebra when applied to robot manipulation tasks. In particular the modelling of cost functions for optimal control can be done uniformly across different geometric primitives leading to a low symbolic complexity of the resulting expressions and a geometric intuitiveness. We demonstrate the usefulness, simplicity and computational efficiency of geometric algebra in several experiments using a Franka Emika robot. The presented algorithms were implemented in c++20 and resulted in the publicly available library \textit{gafro}. The benchmark shows faster computation of the kinematics than state-of-the-art robotics libraries.
