gtsam/gtsam/slam
kartik arcot c037e0a1fc replaced casts 2023-01-22 08:40:02 -08:00
..
tests replaced casts 2023-01-22 08:40:02 -08:00
AntiFactor.h replaced casts 2023-01-22 08:40:02 -08:00
BearingFactor.h remove trailing spaces 2019-02-11 10:58:34 -05:00
BearingRangeFactor.h Moved BearingRangeFactor to SAM 2015-07-12 18:57:26 -07:00
BetweenFactor.h replaced casts 2023-01-22 08:40:02 -08:00
BoundingConstraint.h shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
CMakeLists.txt Building timing scripts using new timing script support in GtsamTesting.cmake. Fixed compile errors in timing scripts but disabled a couple. 2014-06-07 19:02:11 -07:00
EssentialMatrixConstraint.cpp changed signatures to use OptionalMatrix keyword 2023-01-20 18:06:55 -08:00
EssentialMatrixConstraint.h replaced casts 2023-01-22 08:40:02 -08:00
EssentialMatrixFactor.h replaced casts 2023-01-22 08:40:02 -08:00
FrobeniusFactor.cpp replaced casts 2023-01-22 08:40:02 -08:00
FrobeniusFactor.h return before using statement 2023-01-20 18:06:55 -08:00
GeneralSFMFactor.h replaced casts 2023-01-22 08:40:02 -08:00
InitializePose.h replaced casts 2023-01-22 08:40:02 -08:00
InitializePose3.cpp replaced casts 2023-01-22 08:40:02 -08:00
InitializePose3.h Moved common code to InitializePose 2020-08-19 16:31:15 -04:00
JacobianFactorQ.h Use KeyVector everywhere to avoid conversions 2018-11-08 10:10:32 -05:00
JacobianFactorQR.h shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
JacobianFactorSVD.h Documented linear factors better. 2021-08-29 16:33:50 -04:00
KarcherMeanFactor-inl.h shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
KarcherMeanFactor.h shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
OrientedPlane3Factor.cpp changed signatures to use OptionalMatrix keyword 2023-01-20 18:06:55 -08:00
OrientedPlane3Factor.h return before using statement 2023-01-20 18:06:55 -08:00
PoseRotationPrior.h replaced casts 2023-01-22 08:40:02 -08:00
PoseTranslationPrior.h replaced casts 2023-01-22 08:40:02 -08:00
PriorFactor.h Make small commit to re-trigger travis build. 2020-04-13 10:37:35 -04:00
ProjectionFactor.h replaced casts 2023-01-22 08:40:02 -08:00
README.md renamed README 2021-12-04 11:51:23 -05:00
RangeFactor.h remove trailing spaces 2019-02-11 10:58:34 -05:00
ReferenceFrameFactor.h replaced casts 2023-01-22 08:40:02 -08:00
RegularImplicitSchurFactor.h shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
RotateFactor.h replaced casts 2023-01-22 08:40:02 -08:00
SmartFactorBase.h replaced casts 2023-01-22 08:40:02 -08:00
SmartFactorParams.h fix doxygen warnings due to groups and and incorrect filenames 2022-07-26 16:38:51 -04:00
SmartProjectionFactor.h shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
SmartProjectionPoseFactor.h shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
SmartProjectionRigFactor.h shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
StereoFactor.h replaced casts 2023-01-22 08:40:02 -08:00
TriangulationFactor.h replaced casts 2023-01-22 08:40:02 -08:00
dataset.cpp replaced casts 2023-01-22 08:40:02 -08:00
dataset.h Merge branch 'feature/remove_deprecated_code' into verdant/replace-boost-optional-vals 2023-01-21 10:08:31 -08:00
expressions.h adds tests for OrientedPlane3 derivatives 2023-01-09 15:33:48 +11:00
lago.cpp replaced casts 2023-01-22 08:40:02 -08:00
lago.h Moved LAGO to slam 2014-06-01 12:25:23 -04:00
slam.i Wrap GeneralSFMFactor for PinholePose 2022-05-03 13:55:08 -04:00

README.md

SLAM Factors

GenericProjectionFactor (defined in ProjectionFactor.h)

Non-linear factor that minimizes the re-projection error with respect to a 2D measurement. The calibration is assumed known and passed in the constructor. The main building block for visual SLAM.

Templated on

  • POSE, default Pose3
  • LANDMARK, default Point3
  • CALIBRATION, default Cal3_S2

SmartFactors

These are "structure-less" factors, i.e., rather than introducing a new variable for an observed 3D point or landmark, a single factor is created that provides a multi-view constraint on several poses and/or cameras. While one typically adds multiple GenericProjectionFactors (one for each observation of a landmark), a SmartFactor collects all measurements for a landmark, i.e., the factor graph contains 1 smart factor per landmark.

SmartFactorBase

This is the base class for smart factors, templated on a CAMERA type. It has no internal point, but it saves the measurements, keeps a noise model, and an optional sensor pose.

SmartProjectionFactor

Also templated on CAMERA. Triangulates a 3D point and keeps an estimate of it around. This factor operates with monocular cameras, and is used to optimize the camera pose and calibration for each camera, and requires variables of type CAMERA in values.

If the calibration is fixed use SmartProjectionPoseFactor instead!

SmartProjectionPoseFactor

Derives from SmartProjectionFactor but is templated on a CALIBRATION type, setting CAMERA = PinholePose<CALIBRATION>. This factor assumes that the camera calibration is fixed and the same for all cameras involved in this factor. The factor only constrains poses.

If the calibration should be optimized, as well, use SmartProjectionFactor instead!

SmartProjectionRigFactor

Same as SmartProjectionPoseFactor, except:

  • it is templated on CAMERA, i.e., it allows cameras beyond pinhole;
  • it allows measurements from multiple cameras, each camera with fixed but potentially different intrinsics and extrinsics;
  • it allows multiple observations from the same pose/key, again, to model a multi-camera system.

Linearized Smart Factors

The factors below are less likely to be relevant to the user, but result from using the non-linear smart factors above.

RegularImplicitSchurFactor

A specialization of a GaussianFactor to structure-less SFM, which is very fast in a conjugate gradient (CG) solver. It is produced by calling createRegularImplicitSchurFactor in SmartFactorBase or SmartProjectionFactor.

JacobianFactorQ

A RegularJacobianFactor that uses some badly documented reduction on the Jacobians.

JacobianFactorQR

A RegularJacobianFactor that eliminates a point using sequential elimination.

JacobianFactorQR

A RegularJacobianFactor that uses the "Nullspace Trick" by Mourikis et al. See the documentation in the file, which is well documented.