Robotics deals with things that move in the physical world. To get the behavior we want, our control strategies have to respect that world's rules.
In earlier posts, we looked at Lie groups in visual servoing and in handling dynamic constraints. This time, I want to look at their role in trajectory planning.
Here's the demo:
A path, and a schedule for following it
Trajectory planning can be separated into path interpolation and time parameterization.

Suppose we have taught a robot a set of waypoints. It cannot teleport between them, so we need a continuous path that connects them. Interpolation gives us a geometric path , where the scalar parameter lies in .
We can then choose how quickly to move along that path. Time parameterization gives us , where is time, and a continuous trajectory that tells us where to be at each instant.
For a more detailed treatment, I recommend:
Biagiotti, Luigi, and Claudio Melchiorri. Trajectory Planning for Automatic Machines and Robots. DOI: 10.1007/978-3-540-85629-0.
Here, I want to focus on how the choice of interpolation affects time parameterization.
A corner cannot be crossed at arbitrary speed
Velocity is a vector. Because physical bodies have inertia, neither its magnitude nor its direction can jump instantaneously.

If we connect the waypoints with straight lines, the direction changes abruptly at the intermediate point B. A real robot must either depart from that exact geometric path or slow to zero at B. That tradeoff affects both accuracy and speed.
The usual solution is familiar from robotics textbooks: blend the corner with a circular arc or a polynomial curve so that the path's tangent changes continuously.

But how should we blend orientations? What is a circular arc or a polynomial curve in orientation space?
What SLERP does—and what happens at a join
Quaternions give us spherical linear interpolation, or SLERP. Does that solve the problem?

In this example, a rigid body must pass through three orientations without changing position. SLERP finds a rotation axis between two orientations and rotates about that axis. Applied to the example, it gives:

SLERP is the orientation-space counterpart of straight-line interpolation. At the intermediate waypoint, the direction of angular velocity still changes abruptly.
As of 2020, papers on orientation interpolation with higher-order continuity were still appearing at conferences such as IROS and ICRA. Let's look at the problem using a Lie-group representation.
In a linear space, such as Cartesian position or joint coordinates, interpolation between and is easy to write:
For orientations and , we define the corresponding group operations:
- Addition: .
- Inversion: .
This gives us a “subtraction” operation:
Here, Logm is the matrix logarithm. For the details of these operations, see an introduction to Lie groups and Lie algebras.
SLERP can then be expressed in a form that resembles interpolation in a linear space:
Building a Bézier blend
In linear spaces, polynomial interpolation is straightforward, and Bézier curves are one way to construct those polynomials.


These animations, from Wikipedia, illustrate how an nth-degree Bézier curve is built from repeated linear interpolation. Once we have a definition of linear interpolation on a Lie group, we can extend the same construction to obtain a Bézier curve on that group.
That gives us an orientation path with a Bézier blend:

With this Lie-group Bézier blend, the tangent direction of the orientation trajectory no longer changes abruptly.
Our earlier high-speed handling example also required continuous trajectory interpolation across SE(3). It used these techniques too.


