#include <DBReader.h>
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 |
cv::Mat | _previousInfMatrix |
int | _previousMapId |
int | _previousMapID |
double | _previousStamp |
int | _startIndex |
UTimer | _timer |
Definition at line 46 of file DBReader.h.
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.
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 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 [inline, virtual] |
Reimplemented from rtabmap::Camera.
Definition at line 70 of file DBReader.h.
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.