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::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)
 
 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)
 
const DBDriverdriver () const
 
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
 
const TransformgetLocalTransform () const
 
virtual bool getPose (double stamp, Transform &pose, cv::Mat &covariance)
 
bool initFromFile (const std::string &calibrationPath)
 
void resetTimer ()
 
void setImageRate (float imageRate)
 
void setLocalTransform (const Transform &localTransform)
 
SensorData takeImage (CameraInfo *info=0)
 
virtual ~Camera ()
 

Protected Member Functions

virtual SensorData captureImage (CameraInfo *info=0)
 
- Protected Member Functions inherited from rtabmap::Camera
 Camera (float imageRate=0, const Transform &localTransform=Transform::getIdentity())
 
int getNextSeqID ()
 

Private Member Functions

SensorData getNextData (CameraInfo *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
 
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 
)

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 
)

Definition at line 89 of file DBReader.cpp.

◆ ~DBReader()

rtabmap::DBReader::~DBReader ( )
virtual

Definition at line 133 of file DBReader.cpp.

Member Function Documentation

◆ captureImage()

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

returned rgb and depth images should be already rectified if calibration was loaded

Implements rtabmap::Camera.

Definition at line 267 of file DBReader.cpp.

◆ driver()

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

Definition at line 84 of file DBReader.h.

◆ getNextData()

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

Definition at line 369 of file DBReader.cpp.

◆ getSerial()

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

Implements rtabmap::Camera.

Definition at line 262 of file DBReader.cpp.

◆ init()

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

Implements rtabmap::Camera.

Definition at line 142 of file DBReader.cpp.

◆ isCalibrated()

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

Implements rtabmap::Camera.

Definition at line 257 of file DBReader.cpp.

◆ odomProvided()

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

Reimplemented from rtabmap::Camera.

Definition at line 82 of file DBReader.h.

Member Data Documentation

◆ _calibrated

bool rtabmap::DBReader::_calibrated
private

Definition at line 114 of file DBReader.h.

◆ _cameraIndex

int rtabmap::DBReader::_cameraIndex
private

Definition at line 99 of file DBReader.h.

◆ _currentId

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

Definition at line 109 of file DBReader.h.

◆ _dbDriver

DBDriver* rtabmap::DBReader::_dbDriver
private

Definition at line 106 of file DBReader.h.

◆ _featuresIgnored

bool rtabmap::DBReader::_featuresIgnored
private

Definition at line 102 of file DBReader.h.

◆ _goalsIgnored

bool rtabmap::DBReader::_goalsIgnored
private

Definition at line 96 of file DBReader.h.

◆ _ids

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

Definition at line 108 of file DBReader.h.

◆ _ignoreGoalDelay

bool rtabmap::DBReader::_ignoreGoalDelay
private

Definition at line 95 of file DBReader.h.

◆ _intermediateNodesIgnored

bool rtabmap::DBReader::_intermediateNodesIgnored
private

Definition at line 100 of file DBReader.h.

◆ _landmarksIgnored

bool rtabmap::DBReader::_landmarksIgnored
private

Definition at line 101 of file DBReader.h.

◆ _odometryIgnored

bool rtabmap::DBReader::_odometryIgnored
private

Definition at line 94 of file DBReader.h.

◆ _paths

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

Definition at line 93 of file DBReader.h.

◆ _previousInfMatrix

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

Definition at line 111 of file DBReader.h.

◆ _previousMapId

int rtabmap::DBReader::_previousMapId
private

Definition at line 110 of file DBReader.h.

◆ _previousMapID

int rtabmap::DBReader::_previousMapID
private

Definition at line 113 of file DBReader.h.

◆ _previousStamp

double rtabmap::DBReader::_previousStamp
private

Definition at line 112 of file DBReader.h.

◆ _startId

int rtabmap::DBReader::_startId
private

Definition at line 97 of file DBReader.h.

◆ _startMapId

int rtabmap::DBReader::_startMapId
private

Definition at line 103 of file DBReader.h.

◆ _stopId

int rtabmap::DBReader::_stopId
private

Definition at line 98 of file DBReader.h.

◆ _stopMapId

int rtabmap::DBReader::_stopMapId
private

Definition at line 104 of file DBReader.h.

◆ _timer

UTimer rtabmap::DBReader::_timer
private

Definition at line 107 of file DBReader.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00