|
RTAB-Map 0.23.10
Real-Time Appearance-Based Mapping
|
Abstract base class for visual, lidar and visual-inertial odometry backends. More...
#include <Odometry.h>

Public Types | |
| enum | Type { kTypeUndef = -1 , kTypeF2M = 0 , kTypeF2F = 1 , kTypeFovis = 2 , kTypeViso2 = 3 , kTypeDVO = 4 , kTypeORBSLAM = 5 , kTypeOkvis = 6 , kTypeLOAM = 7 , kTypeMSCKF = 8 , kTypeVINSFusion = 9 , kTypeOpenVINS = 10 , kTypeFLOAM = 11 , kTypeOpen3D = 12 , kTypeCuVSLAM = 13 , kTypeLIOSAM = 14 } |
| Odometry backend selected by Parameters::kOdomStrategy(). More... | |
Public Member Functions | |
| Transform | process (SensorData &data, OdometryInfo *info=0) |
| Processes a sensor frame and updates the integrated pose. | |
| Transform | process (SensorData &data, const Transform &guess, OdometryInfo *info=0) |
| Processes a sensor frame with an external motion guess. | |
| virtual void | reset (const Transform &initialPose=Transform::getIdentity()) |
| Resets internal state and sets the initial pose. | |
| virtual Odometry::Type | getType ()=0 |
| virtual bool | canProcessRawImages () const |
| virtual bool | canProcessAsyncIMU () const |
| const Transform & | getPose () const |
| bool | isInfoDataFilled () const |
| RTABMAP_DEPRECATED const Transform & | previousVelocityTransform () const |
| const Transform & | getVelocityGuess () const |
| double | previousStamp () const |
| unsigned int | framesProcessed () const |
| bool | imagesAlreadyRectified () const |
Static Public Member Functions | |
| static Odometry * | create (const ParametersMap ¶meters=ParametersMap()) |
Creates an odometry instance from Parameters::kOdomStrategy() in parameters. | |
| static Odometry * | create (Type &type, const ParametersMap ¶meters=ParametersMap()) |
Creates an odometry instance of a given type. | |
Protected Member Functions | |
| const std::map< double, Transform > & | imus () const |
| Odometry (const rtabmap::ParametersMap ¶meters) | |
| Constructs the base odometry state from RTAB-Map parameters. | |
Abstract base class for visual, lidar and visual-inertial odometry backends.
Odometry estimates the incremental motion between consecutive SensorData frames. Concrete implementations override computeTransform(); the public process() pipeline handles IMU caching, optional motion guesses, filtering (Kalman or particle), image decimation, deskewing and pose integration.
Use create() to instantiate a backend from Parameters::kOdomStrategy().
Definition at line 56 of file Odometry.h.
Odometry backend selected by Parameters::kOdomStrategy().
Definition at line 60 of file Odometry.h.
|
static |
Creates an odometry instance from Parameters::kOdomStrategy() in parameters.
| parameters | RTAB-Map parameters (odometry strategy and related options). |
|
static |
Creates an odometry instance of a given type.
| type | In/out odometry type; updated to kTypeF2M if type is unknown. |
| parameters | RTAB-Map parameters passed to the concrete backend. |
| Transform rtabmap::Odometry::process | ( | SensorData & | data, |
| OdometryInfo * | info = 0 |
||
| ) |
Processes a sensor frame and updates the integrated pose.
| data | Input sensor data (must have id() >= 0). May be modified in place (decompression, deskewing). |
| info | Optional output statistics and debug data. |
OdometryInfo::transform when info is provided. | Transform rtabmap::Odometry::process | ( | SensorData & | data, |
| const Transform & | guess, | ||
| OdometryInfo * | info = 0 |
||
| ) |
Processes a sensor frame with an external motion guess.
| data | Input sensor data. |
| guess | Optional prior on the incremental transform (used by the backend when supported). |
| info | Optional output statistics and debug data. |
|
virtual |
Resets internal state and sets the initial pose.
| initialPose | Starting pose (must not be null). Z/roll/pitch may be cleared if Parameters::kRegForce3DoF() is enabled. |
Reimplemented in rtabmap::OdometryMono, rtabmap::OdometryCuVSLAM, rtabmap::OdometryDVO, rtabmap::OdometryF2F, rtabmap::OdometryF2M, rtabmap::OdometryFLOAM, rtabmap::OdometryFovis, rtabmap::OdometryLIOSAM, rtabmap::OdometryLOAM, rtabmap::OdometryMSCKF, rtabmap::OdometryOkvis, rtabmap::OdometryOpen3D, rtabmap::OdometryOpenVINS, rtabmap::OdometryORBSLAM2, rtabmap::OdometryORBSLAM3, rtabmap::OdometryVINSFusion, and rtabmap::OdometryViso2.
|
pure virtual |
Implemented in rtabmap::OdometryCuVSLAM, rtabmap::OdometryDVO, rtabmap::OdometryF2F, rtabmap::OdometryF2M, rtabmap::OdometryFLOAM, rtabmap::OdometryFovis, rtabmap::OdometryLIOSAM, rtabmap::OdometryLOAM, rtabmap::OdometryMono, rtabmap::OdometryMSCKF, rtabmap::OdometryOkvis, rtabmap::OdometryOpen3D, rtabmap::OdometryOpenVINS, rtabmap::OdometryORBSLAM2, rtabmap::OdometryORBSLAM3, rtabmap::OdometryVINSFusion, and rtabmap::OdometryViso2.
|
inlinevirtual |
Reimplemented in rtabmap::OdometryMSCKF, rtabmap::OdometryOkvis, rtabmap::OdometryOpenVINS, and rtabmap::OdometryVINSFusion.
Definition at line 117 of file Odometry.h.
|
inlinevirtual |
Reimplemented in rtabmap::OdometryLIOSAM, rtabmap::OdometryMSCKF, rtabmap::OdometryOkvis, rtabmap::OdometryOpenVINS, rtabmap::OdometryORBSLAM3, and rtabmap::OdometryVINSFusion.
Definition at line 119 of file Odometry.h.
|
inline |
Definition at line 122 of file Odometry.h.
|
inline |
Definition at line 124 of file Odometry.h.
| RTABMAP_DEPRECATED const Transform & rtabmap::Odometry::previousVelocityTransform | ( | ) | const |
|
inline |
Definition at line 128 of file Odometry.h.
|
inline |
Definition at line 130 of file Odometry.h.
|
inline |
Definition at line 132 of file Odometry.h.
|
inline |
Definition at line 134 of file Odometry.h.
|
inlineprotected |
Definition at line 138 of file Odometry.h.