Simultaneous Localization and Mapping

Formulate SLAM as weighted nonlinear least squares and see how loop closures, gauge fixing, and landmark elimination affect the solution.

Source
Anbloq
Language
English
Created
Updated
Chapters
3
Reading time
2 min
In this article3 chapters
  1. A factor graph expresses the measurement model
  2. A loop closure connects distant points in the trajectory
  3. Bundle adjustment exploits block sparsity

A factor graph expresses the measurement model

Let \(X\) denote robot poses and \(L\) the coordinates of landmarks. An odometry factor links two poses, whereas a camera factor can link a pose and a landmark through its reprojection error. With conditionally independent Gaussian errors in the chosen local coordinates, the maximum-likelihood estimate minimizes

\[ \sum_i r_i(X,L)^\top\Sigma_i^{-1}r_i(X,L). \]

Here \(r_i\) is predicted minus observed measurement in the appropriate coordinates, and \(\Sigma_i\) its noise covariance. Rotations require an update on their manifold, usually evaluated through a local tangent-space parameterization. Fixing one pose can remove the global rigid-motion gauge for a metric reconstruction. A monocular reconstruction without metric scale also has a scale ambiguity.

Camera pose estimation shows how known landmarks constrain one viewpoint. Covariance propagation explains why changing pose can also change the direction and scale of measurement uncertainty.

A loop closure connects distant points in the trajectory

Suppose a robot recognizes a corridor it passed fifty steps earlier. A verified match adds a factor between the two corresponding poses, while odometry already connects them through a long chain. A correction distributed along that chain can reduce drift. A false closure can instead deform the map. Geometric checks and robust losses mitigate some errors, and the graph can be inspected to identify which residuals remain inconsistent. Residual weighting matters because a single high-confidence edge can dominate several weaker measurements.

Bundle adjustment exploits block sparsity

At a fixed linearization, different landmarks often have independent parameter blocks given the poses. Eliminating their increments via the Schur complement yields a smaller pose system whose fill-in connects poses sharing landmarks. Back-substitution recovers the landmark increments. Tracking visibility and relinearization costs helps choose between local and global optimization. Multiple view geometry provides pairwise constraints used to initialize geometry, and neural 3D reconstruction illustrates a different scene representation that still relies on camera alignment.[1][2]

References

  1. Frank Dellaert and Michael Kaess, Factor Graphs for Robot Perception ↩
  2. Raúl Mur-Artal, J. M. M. Montiel and Juan D. Tardós, ORB-SLAM: A Versatile and Accurate Monocular SLAM System ↩