Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
rtabmap::DBReader Class Reference

#include <DBReader.h>

Inheritance diagram for rtabmap::DBReader:
Inheritance graph
[legend]

Public Member Functions

 DBReader (const std::list< std::string > &databasePaths, float frameRate=0.0f, bool odometryIgnored=false, bool ignoreGoalDelay=false, bool goalsIgnored=false, int startId=0, int cameraIndex=-1, int stopId=0, bool intermediateNodesIgnored=false, bool landmarksIgnored=false, bool featuresIgnored=false, int startMapId=0, int stopMapId=-1, bool priorsIgnored=false)
 
 DBReader (const std::string &databasePath, float frameRate=0.0f, bool odometryIgnored=false, bool ignoreGoalDelay=false, bool goalsIgnored=false, int startId=0, int cameraIndex=-1, int stopId=0, bool intermediateNodesIgnored=false, bool landmarksIgnored=false, bool featuresIgnored=false, int startMapId=0, int stopMapId=-1, bool priorsIgnored=false)
 
const DBDriverdriver () const
 
virtual bool getPose (double stamp, Transform &pose, cv::Mat &covariance, double maxWaitTime=0.06)
 
virtual std::string getSerial () const
 
virtual bool init (const std::string &calibrationFolder=".", const std::string &cameraName="")
 
virtual bool isCalibrated () const
 
virtual bool odomProvided () const
 
virtual ~DBReader ()
 
- Public Member Functions inherited from rtabmap::Camera
float getImageRate () const
 
bool initFromFile (const std::string &calibrationPath)
 
bool isInterIMUPublishing () const
 
void setImageRate (float imageRate)
 
void setInterIMUPublishing (bool enabled, IMUFilter *filter=0)
 
SensorData takeImage (SensorCaptureInfo *info=0)
 
virtual ~Camera ()
 
- Public Member Functions inherited from rtabmap::SensorCapture
float getFrameRate () const
 
const TransformgetLocalTransform () const
 
void resetTimer ()
 
void setFrameRate (float frameRate)
 
void setLocalTransform (const Transform &localTransform)
 
SensorData takeData (SensorCaptureInfo *info=0)
 
virtual ~SensorCapture ()
 

Protected Member Functions

virtual SensorData captureImage (SensorCaptureInfo *info=0)
 
- Protected Member Functions inherited from rtabmap::Camera
 Camera (float imageRate=0, const Transform &localTransform=Transform::getIdentity())
 
void postInterIMU (const IMU &imu, double stamp)
 
- Protected Member Functions inherited from rtabmap::SensorCapture
int getNextSeqID ()
 
 SensorCapture (float frameRate=0, const Transform &localTransform=Transform::getIdentity())
 

Private Member Functions

SensorData getNextData (SensorCaptureInfo *info=0)
 

Private Attributes

bool _calibrated
 
int _cameraIndex
 
std::set< int >::iterator _currentId
 
DBDriver_dbDriver
 
bool _featuresIgnored
 
bool _goalsIgnored
 
std::set< int_ids
 
bool _ignoreGoalDelay
 
bool _intermediateNodesIgnored
 
bool _landmarksIgnored
 
bool _odometryIgnored
 
std::list< std::string_paths
 
cv::Mat _previousInfMatrix
 
int _previousMapId
 
int _previousMapID
 
double _previousStamp
 
bool _priorsIgnored
 
int _startId
 
int _startMapId
 
int _stopId
 
int _stopMapId
 
UTimer _timer
 

Detailed Description

Definition at line 46 of file DBReader.h.

Constructor & Destructor Documentation

◆ DBReader() [1/2]

rtabmap::DBReader::DBReader ( const std::string databasePath,
float  frameRate = 0.0f,
bool  odometryIgnored = false,
bool  ignoreGoalDelay = false,
bool  goalsIgnored = false,
int  startId = 0,
int  cameraIndex = -1,
int  stopId = 0,
bool  intermediateNodesIgnored = false,
bool  landmarksIgnored = false,
bool  featuresIgnored = false,
int  startMapId = 0,
int  stopMapId = -1,
bool  priorsIgnored = false 
)

Definition at line 45 of file DBReader.cpp.

◆ DBReader() [2/2]

rtabmap::DBReader::DBReader ( const std::list< std::string > &  databasePaths,
float  frameRate = 0.0f,
bool  odometryIgnored = false,
bool  ignoreGoalDelay = false,
bool  goalsIgnored = false,
int  startId = 0,
int  cameraIndex = -1,
int  stopId = 0,
bool  intermediateNodesIgnored = false,
bool  landmarksIgnored = false,
bool  featuresIgnored = false,
int  startMapId = 0,
int  stopMapId = -1,
bool  priorsIgnored = false 
)

Definition at line 91 of file DBReader.cpp.

◆ ~DBReader()

rtabmap::DBReader::~DBReader ( )
virtual

Definition at line 137 of file DBReader.cpp.

Member Function Documentation

◆ captureImage()

SensorData rtabmap::DBReader::captureImage ( SensorCaptureInfo info = 0)
protectedvirtual

Implements rtabmap::Camera.

Definition at line 277 of file DBReader.cpp.

◆ driver()

const DBDriver* rtabmap::DBReader::driver ( ) const
inline

Definition at line 87 of file DBReader.h.

◆ getNextData()

SensorData rtabmap::DBReader::getNextData ( SensorCaptureInfo info = 0)
private

Definition at line 379 of file DBReader.cpp.

◆ getPose()

bool rtabmap::DBReader::getPose ( double  stamp,
Transform pose,
cv::Mat covariance,
double  maxWaitTime = 0.06 
)
virtual

Reimplemented from rtabmap::SensorCapture.

Definition at line 271 of file DBReader.cpp.

◆ getSerial()

std::string rtabmap::DBReader::getSerial ( ) const
virtual

Implements rtabmap::SensorCapture.

Definition at line 266 of file DBReader.cpp.

◆ init()

bool rtabmap::DBReader::init ( const std::string calibrationFolder = ".",
const std::string cameraName = "" 
)
virtual

Implements rtabmap::SensorCapture.

Definition at line 146 of file DBReader.cpp.

◆ isCalibrated()

bool rtabmap::DBReader::isCalibrated ( ) const
virtual

Implements rtabmap::Camera.

Definition at line 261 of file DBReader.cpp.

◆ odomProvided()

virtual bool rtabmap::DBReader::odomProvided ( ) const
inlinevirtual

Reimplemented from rtabmap::SensorCapture.

Definition at line 84 of file DBReader.h.

Member Data Documentation

◆ _calibrated

bool rtabmap::DBReader::_calibrated
private

Definition at line 118 of file DBReader.h.

◆ _cameraIndex

int rtabmap::DBReader::_cameraIndex
private

Definition at line 102 of file DBReader.h.

◆ _currentId

std::set<int>::iterator rtabmap::DBReader::_currentId
private

Definition at line 113 of file DBReader.h.

◆ _dbDriver

DBDriver* rtabmap::DBReader::_dbDriver
private

Definition at line 110 of file DBReader.h.

◆ _featuresIgnored

bool rtabmap::DBReader::_featuresIgnored
private

Definition at line 105 of file DBReader.h.

◆ _goalsIgnored

bool rtabmap::DBReader::_goalsIgnored
private

Definition at line 99 of file DBReader.h.

◆ _ids

std::set<int> rtabmap::DBReader::_ids
private

Definition at line 112 of file DBReader.h.

◆ _ignoreGoalDelay

bool rtabmap::DBReader::_ignoreGoalDelay
private

Definition at line 98 of file DBReader.h.

◆ _intermediateNodesIgnored

bool rtabmap::DBReader::_intermediateNodesIgnored
private

Definition at line 103 of file DBReader.h.

◆ _landmarksIgnored

bool rtabmap::DBReader::_landmarksIgnored
private

Definition at line 104 of file DBReader.h.

◆ _odometryIgnored

bool rtabmap::DBReader::_odometryIgnored
private

Definition at line 97 of file DBReader.h.

◆ _paths

std::list<std::string> rtabmap::DBReader::_paths
private

Definition at line 96 of file DBReader.h.

◆ _previousInfMatrix

cv::Mat rtabmap::DBReader::_previousInfMatrix
private

Definition at line 115 of file DBReader.h.

◆ _previousMapId

int rtabmap::DBReader::_previousMapId
private

Definition at line 114 of file DBReader.h.

◆ _previousMapID

int rtabmap::DBReader::_previousMapID
private

Definition at line 117 of file DBReader.h.

◆ _previousStamp

double rtabmap::DBReader::_previousStamp
private

Definition at line 116 of file DBReader.h.

◆ _priorsIgnored

bool rtabmap::DBReader::_priorsIgnored
private

Definition at line 106 of file DBReader.h.

◆ _startId

int rtabmap::DBReader::_startId
private

Definition at line 100 of file DBReader.h.

◆ _startMapId

int rtabmap::DBReader::_startMapId
private

Definition at line 107 of file DBReader.h.

◆ _stopId

int rtabmap::DBReader::_stopId
private

Definition at line 101 of file DBReader.h.

◆ _stopMapId

int rtabmap::DBReader::_stopMapId
private

Definition at line 108 of file DBReader.h.

◆ _timer

UTimer rtabmap::DBReader::_timer
private

Definition at line 111 of file DBReader.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:27