Rigid motions
The rigid motions and the extended poses are semidirect products of the rotations with translations; their chart translates the identity's on the left, so that its translation coordinates are in the frame of the point, and their exponential couples translation to rotation through the left Jacobian.
A rigid motion is a rotation and a translation: the pose of a body, or the change of coordinates between two frames. An extended pose adds a velocity. Both are groups built on the rotations, and this note gives them a retraction, their group’s maps, and their exponential. The quaternion product , the covering , the exponential and its Jacobians and are those of that note, and tangent coordinates are ordered rotation first.
The groups#
A rigid motion is a pair of a unit quaternion and a vector of , with the product
the identity and the inverse . It acts on a point as , so that the product is composition: the motion takes coordinates in the body’s frame to coordinates in the outer frame, is where the body is, and is how it is turned. This is the semidirect product , and up to the sign of its quaternion, , it is the group of rigid motions, a quotient as the rotations are. Its dimension is . As a homogeneous matrix it is
whose product is (1) and whose action on is the action on the point .
An extended pose is a triple , with the velocity carried as the position is:
Up to sign this is the group , of dimension , the state of a body whose attitude, velocity and position are estimated together.
The chart#
The groups are not products of the rotations with a Euclidean space as groups, though they are as manifolds, and they have a retraction of their own.
Let be a retraction of the rotations that is the left translation of its chart at the identity, , with inverse . On the rigid motions let
and on the extended poses let
Each is a retraction, the left translation by the point of the chart at the identity, with the inverse
and likewise for , defined wherever the rotations’ inverse is. Its domain is the rotation chart’s domain times the whole of the translations’ coordinates, and with the Cayley chart of the rotations it is unchanged by the sign of either quaternion.
The product of and is , the chart, and likewise for the extended pose; at it is . Its derivative there is the identity once the tangent space at is identified with by the rotation’s coordinates and the translation’s coordinates in the frame of the point, which is the identification the left translation carries from the identity. For fixed the chart is the rotation’s chart in its first coordinates and the affine map of onto itself in the rest, which gives its domain and its inverse. With the Cayley chart, and is unchanged by either sign, and the rest reads the quaternion only through , with .
∎With the Cayley chart, then, this is a retraction on and on themselves, by Proposition 1, defined on all of or and missing only the motions whose rotation is a half-turn from the point’s.
The translation coordinates are in the frame of the point: a step moves the position along the body’s own axes. That is how the error of an odometer or of a scan matcher is given, and it is what the group’s left translation produces. A pose whose position’s error is given in a fixed frame is a different manifold with a retraction, the product of the rotations with , whose chart is . The two have the same points, and the identity between them is a change of chart: the product’s coordinates reach , whose coordinates in the motion’s chart are , so the derivative in charts of the identity from the product to the motion is .
The maps of the group#
With , the maps a computation needs of a rigid motion are these.
| map | of | as |
|---|---|---|
| composition | ||
| inverse | ||
| relative motion | ||
| action on a point | ||
| action on a direction | ||
| inverse action |
Each is smooth, and each is a map of : the sign of a quaternion changes at most the sign of the result’s. The relative motion is the second pose seen from the first, which is what an odometer measures between two poses and what a camera measures of a landmark.
The adjoint is the conjugation of the group’s Lie algebra, , and carries a perturbation in the frame of the motion to the outer frame, . In the order it is
which many references write with the blocks the other way about, their translation first. Unlike the rotations’ (13), the relation holds to first order only, since the chart is not the exponential.
The exponential and the logarithm#
The exponential is the motion at a constant body twist , rotating at the rate while translating at the body velocity , for unit time, and the logarithm is its inverse:
and
the logarithm defined for . A pose moving at constant body rates for a time moves from to , exactly. With the rotation vector of the shorter turn in place of , the logarithm is a map of , discontinuous at the half-turns as on the rotations.
The exponential couples the translation to the rotation through the left Jacobian, and the chart of Proposition 2 does not. In exponential coordinates a step from reaches , and
so the two agree to first order and differ at second order by the term . First derivatives read in the chart are therefore the Jacobians of the textbooks, as on the rotations (Proposition 16); second derivatives are not, and are the chart’s own.
The motions’ Jacobians, with to first order, are in the order
with , , and
where is the coefficient of (9) and
This is the block of the textbooks written translation first, moved below the diagonal by the order of the coordinates here. Like the rotations’ coefficients, and are smooth, with closed forms that divide by a power of .
Interpolation#
Two interpolations between and are in use:
The first is the screw motion at a constant twist, the one-parameter subgroup through carried to . The second interpolates the rotation along its geodesic and the position along a straight line, the geodesic of the product. Each comes with in place of for the shorter turn.
Extended poses#
The extended poses have the same maps, with the velocity carried as the position is: the composition , the inverse , the relative motion likewise, the exponential and its logarithm, the left Jacobian with the blocks on its diagonal and and below it in its first column, and in the order the adjoint
Their action on points is that of their pose . As a matrix an extended pose is the one with the columns over the rows and .
Built on by
- Rotations and rigid motions The crate skoro-spatial declares the rotations, the rigid motions and the extended poses as embedded types stored as quaternions up to sign, with the Cayley chart, global on each group, and declared volumes, so that they carry the normal in whatever sign their quaternions are given, and writes their maps as composites whose derivatives are the core's.
- Removable singularities in floating point The coefficients of the rotations' and the rigid motions' maps are smooth at the identity, but their closed forms divide by a power of the angle there; each is computed by a series below a cutoff and its closed form above, and the cutoff is set by how the error of a sine and a cosine, relative or absolute, is amplified by that division.
- Densities in tangent charts A retraction's chart at a point carries the manifold's reference measure to a density on the tangent space, the chart's volume; with it, a random tangent vector pushed through the chart has a density on the manifold, given here for the charts of the rotations, the poses and the sphere.