Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
rtabmap::DBReader Class Reference

#include <DBReader.h>

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

List of all members.

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 ()

Protected Member Functions

virtual SensorData captureImage (CameraInfo *info=0)

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
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 46 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.

Definition at line 90 of file DBReader.cpp.


Member Function Documentation

SensorData rtabmap::DBReader::captureImage ( CameraInfo info = 0) [protected, virtual]

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

Implements rtabmap::Camera.

Definition at line 191 of file DBReader.cpp.

Definition at line 284 of file DBReader.cpp.

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

Implements rtabmap::Camera.

Definition at line 186 of file DBReader.cpp.

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

Implements rtabmap::Camera.

Definition at line 99 of file DBReader.cpp.

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

Implements rtabmap::Camera.

Definition at line 181 of file DBReader.cpp.

virtual bool rtabmap::DBReader::odomProvided ( ) const [inline, virtual]

Reimplemented from rtabmap::Camera.

Definition at line 70 of file DBReader.h.


Member Data Documentation

Definition at line 92 of file DBReader.h.

Definition at line 84 of file DBReader.h.

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

Definition at line 89 of file DBReader.h.

Definition at line 86 of file DBReader.h.

Definition at line 82 of file DBReader.h.

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

Definition at line 88 of file DBReader.h.

Definition at line 81 of file DBReader.h.

Definition at line 80 of file DBReader.h.

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

Definition at line 79 of file DBReader.h.

Definition at line 91 of file DBReader.h.

Definition at line 90 of file DBReader.h.

Definition at line 83 of file DBReader.h.

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 Sat Jul 23 2016 11:44:32