gtsam/gtsam/slam
yetongumich 9b0fa1210e clean up and refactor NonlinearEquality and BoundingConstraint 2024-08-06 15:42:09 -04:00
..
tests add templated at methods for FactorGraph so it can perform typecasting for us 2023-10-06 12:34:49 -04:00
AntiFactor.h serialization function comment moved 2023-01-22 22:14:28 -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 numbered GTSAM_CONCEPT_ASSERT# with GTSAM_CONCEPT_ASSERT 2023-02-11 17:17:18 -08:00
BoundingConstraint.h clean up and refactor NonlinearEquality and BoundingConstraint 2024-08-06 15:42:09 -04: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 serialization function comment moved 2023-01-22 22:14:28 -08:00
EssentialMatrixFactor.h replaced casts 2023-01-22 08:40:02 -08:00
FrobeniusFactor.cpp Fixed warnings that arise from stricter compiler flags 2023-02-11 12:32:50 -08:00
FrobeniusFactor.h return before using statement 2023-01-20 18:06:55 -08:00
GeneralSFMFactor.h Fixed warnings that arise from stricter compiler flags 2023-02-11 12:32:50 -08:00
InitializePose.h Merge branch 'develop' into feature/remove_boost_in_Values 2023-01-22 21:32:27 -08:00
InitializePose3.cpp Got rid or ifdefed many boost headers 2023-02-05 20:45:54 -08:00
InitializePose3.h Kill more boost headers 2023-02-05 20:45:54 -08:00
JacobianFactorQ.h Use KeyVector everywhere to avoid conversions 2018-11-08 10:10:32 -05:00
JacobianFactorQR.h Replace std::tie with c++17 pattern matching 2023-02-04 10:28:14 -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 serialization function comment moved 2023-01-22 22:14:28 -08:00
PoseTranslationPrior.h serialization function comment moved 2023-01-22 22:14:28 -08:00
PriorFactor.h Make small commit to re-trigger travis build. 2020-04-13 10:37:35 -04:00
ProjectionFactor.h serialization function comment moved 2023-01-22 22:14:28 -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 serialization function comment moved 2023-01-22 22:14:28 -08:00
RegularImplicitSchurFactor.h Replace make_pair with {} 2023-02-04 09:08:34 -08:00
RotateFactor.h replaced casts 2023-01-22 08:40:02 -08:00
SmartFactorBase.h fix SphericalCamera traits definition 2023-08-01 09:55:00 -04:00
SmartFactorParams.h serialization function comment moved 2023-01-22 22:14:28 -08:00
SmartProjectionFactor.h serialization function comment moved 2023-01-22 22:14:28 -08:00
SmartProjectionPoseFactor.h serialization function comment moved 2023-01-22 22:14:28 -08:00
SmartProjectionRigFactor.h Fixed warnings that arise from stricter compiler flags 2023-02-11 12:32:50 -08:00
StereoFactor.h Expanded stereofactor python constructor 2024-05-27 15:58:05 -04:00
TriangulationFactor.h Got rid or ifdefed many boost headers 2023-02-05 20:45:54 -08:00
dataset.cpp Fixed warnings that arise from stricter compiler flags 2023-02-11 12:32:50 -08:00
dataset.h Remove serialization header 2023-02-06 01:35:14 -08:00
expressions.h Update expressions.h 2023-10-30 01:09:11 +01:00
lago.cpp Got rid or ifdefed many boost headers 2023-02-05 20:45:54 -08:00
lago.h Address review comments 2023-02-05 10:33:24 -08:00
slam.i update gtsam:: namespace in slam.i 2024-06-28 16:17:27 -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.