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 startIndex=0, int cameraIndex=-1)
 
 DBReader (const std::list< std::string > &databasePaths, float frameRate=0.0f, bool odometryIgnored=false, bool ignoreGoalDelay=false, bool goalsIgnored=false, int startIndex=0, int cameraIndex=-1)
 
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
 
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 _goalsIgnored
 
std::set< int > _ids
 
bool _ignoreGoalDelay
 
bool _odometryIgnored
 
std::list< std::string > _paths
 
cv::Mat _previousInfMatrix
 
int _previousMapId
 
int _previousMapID
 
double _previousStamp
 
int _startIndex
 
UTimer _timer
 

Detailed Description

Definition at line 46 of file DBReader.h.

Constructor & Destructor Documentation

rtabmap::DBReader::DBReader ( const std::string &  databasePath,
float  frameRate = 0.0f,
bool  odometryIgnored = false,
bool  ignoreGoalDelay = false,
bool  goalsIgnored = false,
int  startIndex = 0,
int  cameraIndex = -1 
)

Definition at line 45 of file DBReader.cpp.

rtabmap::DBReader::DBReader ( const std::list< std::string > &  databasePaths,
float  frameRate = 0.0f,
bool  odometryIgnored = false,
bool  ignoreGoalDelay = false,
bool  goalsIgnored = false,
int  startIndex = 0,
int  cameraIndex = -1 
)

Definition at line 68 of file DBReader.cpp.

rtabmap::DBReader::~DBReader ( )
virtual

Definition at line 91 of file DBReader.cpp.

Member Function Documentation

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 213 of file DBReader.cpp.

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

Definition at line 308 of file DBReader.cpp.

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

Implements rtabmap::Camera.

Definition at line 208 of file DBReader.cpp.

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

Implements rtabmap::Camera.

Definition at line 100 of file DBReader.cpp.

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

Implements rtabmap::Camera.

Definition at line 203 of file DBReader.cpp.

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

Reimplemented from rtabmap::Camera.

Definition at line 70 of file DBReader.h.

Member Data Documentation

bool rtabmap::DBReader::_calibrated
private

Definition at line 94 of file DBReader.h.

int rtabmap::DBReader::_cameraIndex
private

Definition at line 84 of file DBReader.h.

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

Definition at line 89 of file DBReader.h.

DBDriver* rtabmap::DBReader::_dbDriver
private

Definition at line 86 of file DBReader.h.

bool rtabmap::DBReader::_goalsIgnored
private

Definition at line 82 of file DBReader.h.

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

Definition at line 88 of file DBReader.h.

bool rtabmap::DBReader::_ignoreGoalDelay
private

Definition at line 81 of file DBReader.h.

bool rtabmap::DBReader::_odometryIgnored
private

Definition at line 80 of file DBReader.h.

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

Definition at line 79 of file DBReader.h.

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

Definition at line 91 of file DBReader.h.

int rtabmap::DBReader::_previousMapId
private

Definition at line 90 of file DBReader.h.

int rtabmap::DBReader::_previousMapID
private

Definition at line 93 of file DBReader.h.

double rtabmap::DBReader::_previousStamp
private

Definition at line 92 of file DBReader.h.

int rtabmap::DBReader::_startIndex
private

Definition at line 83 of file DBReader.h.

UTimer rtabmap::DBReader::_timer
private

Definition at line 87 of file DBReader.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:43