#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, kTypeVINS = 9, kTypeOpenVINS = 10, kTypeFLOAM = 11, kTypeOpen3D = 12 } |
Public Member Functions | |
virtual bool | canProcessAsyncIMU () const |
virtual bool | canProcessRawImages () const |
unsigned int | framesProcessed () const |
const Transform & | getPose () const |
virtual Odometry::Type | getType ()=0 |
const Transform & | getVelocityGuess () const |
bool | imagesAlreadyRectified () const |
bool | isInfoDataFilled () const |
double | previousStamp () const |
const RTABMAP_DEPRECATED Transform & | previousVelocityTransform () const |
Transform | process (SensorData &data, const Transform &guess, OdometryInfo *info=0) |
Transform | process (SensorData &data, OdometryInfo *info=0) |
virtual void | reset (const Transform &initialPose=Transform::getIdentity()) |
virtual | ~Odometry () |
Static Public Member Functions | |
static Odometry * | create (const ParametersMap ¶meters=ParametersMap()) |
static Odometry * | create (Type &type, const ParametersMap ¶meters=ParametersMap()) |
Protected Member Functions | |
const std::map< double, Transform > & | imus () const |
Odometry (const rtabmap::ParametersMap ¶meters) | |
Private Member Functions | |
virtual Transform | computeTransform (SensorData &data, const Transform &guess=Transform(), OdometryInfo *info=0)=0 |
void | initKalmanFilter (const Transform &initialPose=Transform::getIdentity(), float vx=0.0f, float vy=0.0f, float vz=0.0f, float vroll=0.0f, float vpitch=0.0f, float vyaw=0.0f) |
void | predictKalmanFilter (float dt, float *vx=0, float *vy=0, float *vz=0, float *vroll=0, float *vpitch=0, float *vyaw=0) |
void | updateKalmanFilter (float &vx, float &vy, float &vz, float &vroll, float &vpitch, float &vyaw) |
Private Attributes | |
bool | _alignWithGround |
bool | _deskewing |
bool | _fillInfoData |
int | _filteringStrategy |
bool | _force3DoF |
bool | _holonomic |
unsigned int | _imageDecimation |
bool | _imagesAlreadyRectified |
float | _kalmanMeasurementNoise |
float | _kalmanProcessNoise |
float | _particleLambdaR |
float | _particleLambdaT |
float | _particleNoiseR |
float | _particleNoiseT |
int | _particleSize |
Transform | _pose |
bool | _publishRAMUsage |
int | _resetCountdown |
int | _resetCurrentCount |
float | distanceTravelled_ |
unsigned int | framesProcessed_ |
bool | guessFromMotion_ |
float | guessSmoothingDelay_ |
Transform | imuLastTransform_ |
std::map< double, Transform > | imus_ |
cv::KalmanFilter | kalmanFilter_ |
std::vector< CameraModel > | models_ |
std::vector< ParticleFilter * > | particleFilters_ |
Transform | previousGroundTruthPose_ |
double | previousStamp_ |
std::list< std::pair< std::vector< float >, double > > | previousVelocities_ |
std::vector< StereoCameraModel > | stereoModels_ |
Transform | velocityGuess_ |
Definition at line 42 of file Odometry.h.
enum rtabmap::Odometry::Type |
Enumerator | |
---|---|
kTypeUndef | |
kTypeF2M | |
kTypeF2F | |
kTypeFovis | |
kTypeViso2 | |
kTypeDVO | |
kTypeORBSLAM | |
kTypeOkvis | |
kTypeLOAM | |
kTypeMSCKF | |
kTypeVINS | |
kTypeOpenVINS | |
kTypeFLOAM | |
kTypeOpen3D |
Definition at line 45 of file Odometry.h.
|
virtual |
Definition at line 202 of file Odometry.cpp.
|
protected |
Definition at line 124 of file Odometry.cpp.
|
inlinevirtual |
Reimplemented in rtabmap::OdometryOkvis, rtabmap::OdometryOpenVINS, rtabmap::OdometryMSCKF, rtabmap::OdometryORBSLAM3, and rtabmap::OdometryVINS.
Definition at line 73 of file Odometry.h.
|
inlinevirtual |
Reimplemented in rtabmap::OdometryOkvis, rtabmap::OdometryOpenVINS, rtabmap::OdometryMSCKF, and rtabmap::OdometryVINS.
Definition at line 72 of file Odometry.h.
|
privatepure virtual |
Implemented in rtabmap::OdometryDVO, rtabmap::OdometryFovis, rtabmap::OdometryLOAM, rtabmap::OdometryOkvis, rtabmap::OdometryF2F, rtabmap::OdometryOpenVINS, rtabmap::OdometryMSCKF, rtabmap::OdometryORBSLAM3, rtabmap::OdometryVINS, rtabmap::OdometryFLOAM, rtabmap::OdometryORBSLAM2, rtabmap::OdometryViso2, rtabmap::OdometryOpen3D, rtabmap::OdometryF2M, and rtabmap::OdometryMono.
|
static |
Definition at line 58 of file Odometry.cpp.
|
static |
|
inline |
Definition at line 82 of file Odometry.h.
|
inline |
Definition at line 76 of file Odometry.h.
|
pure virtual |
Implemented in rtabmap::OdometryF2M, rtabmap::OdometryDVO, rtabmap::OdometryFovis, rtabmap::OdometryLOAM, rtabmap::OdometryF2F, rtabmap::OdometryOkvis, rtabmap::OdometryOpenVINS, rtabmap::OdometryORBSLAM3, rtabmap::OdometryFLOAM, rtabmap::OdometryMono, rtabmap::OdometryMSCKF, rtabmap::OdometryORBSLAM2, rtabmap::OdometryVINS, rtabmap::OdometryViso2, and rtabmap::OdometryOpen3D.
|
inline |
Definition at line 80 of file Odometry.h.
|
inline |
Definition at line 83 of file Odometry.h.
|
inlineprotected |
Definition at line 86 of file Odometry.h.
|
private |
Definition at line 1021 of file Odometry.cpp.
|
inline |
Definition at line 77 of file Odometry.h.
|
private |
Definition at line 1113 of file Odometry.cpp.
|
inline |
Definition at line 81 of file Odometry.h.
const Transform & rtabmap::Odometry::previousVelocityTransform | ( | ) | const |
Definition at line 267 of file Odometry.cpp.
Transform rtabmap::Odometry::process | ( | SensorData & | data, |
const Transform & | guess, | ||
OdometryInfo * | info = 0 |
||
) |
Definition at line 303 of file Odometry.cpp.
Transform rtabmap::Odometry::process | ( | SensorData & | data, |
OdometryInfo * | info = 0 |
||
) |
Definition at line 298 of file Odometry.cpp.
|
virtual |
Reimplemented in rtabmap::OdometryF2M, rtabmap::OdometryDVO, rtabmap::OdometryFovis, rtabmap::OdometryLOAM, rtabmap::OdometryOkvis, rtabmap::OdometryOpenVINS, rtabmap::OdometryORBSLAM3, rtabmap::OdometryF2F, rtabmap::OdometryFLOAM, rtabmap::OdometryMSCKF, rtabmap::OdometryORBSLAM2, rtabmap::OdometryVINS, rtabmap::OdometryViso2, rtabmap::OdometryOpen3D, and rtabmap::OdometryMono.
Definition at line 210 of file Odometry.cpp.
|
private |
Definition at line 1199 of file Odometry.cpp.
|
private |
Definition at line 111 of file Odometry.h.
|
private |
Definition at line 114 of file Odometry.h.
|
private |
Definition at line 107 of file Odometry.h.
|
private |
Definition at line 101 of file Odometry.h.
|
private |
Definition at line 97 of file Odometry.h.
|
private |
Definition at line 98 of file Odometry.h.
|
private |
Definition at line 110 of file Odometry.h.
|
private |
Definition at line 113 of file Odometry.h.
|
private |
Definition at line 109 of file Odometry.h.
|
private |
Definition at line 108 of file Odometry.h.
|
private |
Definition at line 106 of file Odometry.h.
|
private |
Definition at line 104 of file Odometry.h.
|
private |
Definition at line 105 of file Odometry.h.
|
private |
Definition at line 103 of file Odometry.h.
|
private |
Definition at line 102 of file Odometry.h.
|
private |
Definition at line 115 of file Odometry.h.
|
private |
Definition at line 112 of file Odometry.h.
|
private |
Definition at line 96 of file Odometry.h.
|
private |
Definition at line 116 of file Odometry.h.
|
private |
Definition at line 122 of file Odometry.h.
|
private |
Definition at line 123 of file Odometry.h.
|
private |
Definition at line 99 of file Odometry.h.
|
private |
Definition at line 100 of file Odometry.h.
|
private |
Definition at line 120 of file Odometry.h.
|
private |
Definition at line 129 of file Odometry.h.
|
private |
Definition at line 126 of file Odometry.h.
|
private |
Definition at line 128 of file Odometry.h.
|
private |
Definition at line 125 of file Odometry.h.
|
private |
Definition at line 121 of file Odometry.h.
|
private |
Definition at line 117 of file Odometry.h.
|
private |
Definition at line 118 of file Odometry.h.
|
private |
Definition at line 127 of file Odometry.h.
|
private |
Definition at line 119 of file Odometry.h.