Conceptresearch
Uncertainty on Lie groups
Also called concentrated Gaussian on SE(3).
A random pose as a mean in SE(3) times the exponential of a Gaussian twist, so covariances live in the Lie algebra.
Uncertainty on a Lie group is the practice of describing a random rotation or pose by a mean element of the group and a small random perturbation in its tangent space. For a pose, the model is with , where is in the special Euclidean group SE(3), is a 6-vector twist and is the SE(3) exponential. Every sample is a valid pose, the covariance is a 6 by 6 matrix with one row for each degree of freedom, and there is no singularity as there is with Euler angles. When is small, the distribution is called a concentrated Gaussian, and the usual rules for means and covariances carry over with the adjoint in place of a rotation of axes.
In plain words
A pose has a position and a direction, and the set of all poses is curved. You cannot just add a small random number to each entry of a rotation, because the result is no longer a rotation. Instead, you take a best guess of the pose and then apply a small random motion to it. The small motion is a list of six numbers, three for turning and three for sliding, and these six numbers have the usual bell-shaped spread. So the spread lives in a flat space of small motions, and every sample is still a real pose. You must say whether the small motion is applied in the robot's own frame or in the fixed frame, because the two give different numbers. With this model, you can chain, invert, average and combine uncertain poses with simple matrix rules.
The idea
This page writes a twist as , angular part first, and as in Lynch and Park. It uses the right perturbation unless it says otherwise. Barfoot and Furgale, and Barfoot's book, use the left perturbation and order the twist as , translation first, so their adjoint has its blocks in the other order.
A Gaussian in the tangent space. A random pose with mean and covariance is
The vector is in the body frame of . The mean is the pose with , and . For small the density on the group is close to up to a constant. The same construction with of SO(3) and a 3 by 3 covariance gives uncertain rotations.
Left and right. Because , the same random pose has the two forms
The left form puts the noise in the fixed frame, and the right form puts it in the body frame. A covariance without a statement of its side has no meaning.
Inverse. . So the inverse has the mean and, in the right perturbation, the covariance . This is exact, because the new perturbation is a linear function of .
Compounding. For independent and ,
To first order in the Baker-Campbell-Hausdorff formula, , so the mean is and
If and are correlated, add the cross terms with in the right form. This is a linearization, like the pose compounding operators of Smith, Self and Cheeseman, but the mean stays exactly on the group, and the frames of the noise are explicit. Barfoot and Furgale also give a fourth-order expression, which they compare with a second-order one, sigma points and Monte Carlo; it matters when the input covariances are large.
Mean of samples. For poses , iterate
until the step is small, and take with . This is a Gauss-Newton step for the sum of the squared lengths of the , and it converges when the samples are concentrated, with rotation angles well below from the mean.
Fusion and functions. To fuse estimates of one pose, minimize with over , by Gauss-Newton with updates . To push the uncertainty through a function , take at and . Filters and smoothers on groups use these two steps again and again.
Limits. The model is good when the rotational standard deviations are small compared with . For larger spreads, wraps at an angle of , the mean found by iteration can depend on the start, and the first-order compounding underestimates or overestimates the spread.
Examples
The banana is a Gaussian (planar, exact). In SE(2) write . A robot at the origin gets a heading error and then drives 1 m along its own axis. The end pose is , a rotation by about the start point applied to , so
The planar adjoint of a pose with translation and no rotation is . With , the right perturbation is : a turn and a slide to the left, both proportional to . In both forms the distribution is a Gaussian in the twist, with no approximation. In the coordinates it is not: the samples lie on an arc. For , , and . A Gaussian in from a linearization has the mean , and , and its samples leave the arc. Long, Wolfe, Mashner and Chirikjian show that the banana-shaped pose cloud of a noisy two-wheeled robot is close to a Gaussian in exponential coordinates.
Compounding turns the axes. Let have a right covariance with the single entry at : an error of standard deviation 0.1 m along the axis of frame 1. Let be exact, a rotation with no translation. Then has the diagonal blocks , which maps to . The composite has the single entry at : in the body frame of , which is frame 1 turned by a quarter turn, the old axis is the axis. Here the formula is exact, because has no noise. In the left form, the covariance of the composite is without change, because the noise stays in the fixed frame.
Inverse moves heading error into position. Let be a translation by with no rotation, and let the right covariance have only a heading variance (about ). For a heading error , and , because . So has the right perturbation , with , and . In words: seen from the robot, the world origin is 2 m behind it, and a heading error of moves the origin sideways by .
Where it is used
- Filters that keep the state on a group: the error-state Kalman filter and the invariant extended Kalman filter hold a covariance of the tangent perturbation, and the unscented Kalman filter on a group maps its sigma points through .
- Pose graph optimization writes each edge error as with an information matrix in the tangent space, and updates each pose by .
- Bundle adjustment perturbs camera poses in the same way, so the normal equations have 6 unknowns per camera.
- EKF SLAM and the pose compounding operators chain uncertain robot poses; the group form keeps each mean a valid pose.
- Uncertain rotations alone use the same model on SO(3), with the SO(3) logarithm in place of the SE(3) one; Wang and Chirikjian use covariances on the Lie algebra to propagate errors through the joints of a manipulator.
References
- Timothy D. Barfoot and Paul T. Furgale, Associating uncertainty with three-dimensional poses for use in estimation problems, IEEE Transactions on Robotics 30(3), 679 to 693, 2014, the whole paper (perturbations of 4x4 transforms by the exponential map, compounding of uncertain poses to second and fourth order, and fusion of pose measurements)
- Timothy D. Barfoot, State Estimation for Robotics, Cambridge University Press, 2017, Chapter 7, Section 7.3 (uncertainty on SO(3) and SE(3), with 7.3.3 compounding poses and 7.3.4 fusing poses)
- Joan Solà, Jeremie Deray and Dinesh Atchuthan, A micro Lie theory for state estimation in robotics, 2018, the sections on right and left perturbations, the adjoint, uncertainty in the tangent space and covariance propagation
- Andrew W. Long, Kevin C. Wolfe, Michael J. Mashner and Gregory S. Chirikjian, The banana distribution is Gaussian: a localization study with exponential coordinates, Robotics: Science and Systems VIII, 2012, the whole paper (the pose distribution of a noisy planar robot as a Gaussian in exponential coordinates)
- Error propagation on the Euclidean group with applications to manipulator kinematics, the whole paper (covariances defined on the Lie algebra and their propagation through chains of uncertain motions)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag YR61S6 Edit this page History Report an error Markdown