DBReader: added camera selection

This commit is contained in:
matlabbe
2016-06-20 10:50:01 -04:00
parent 62db5370aa
commit cdddb1209e
6 changed files with 91 additions and 15 deletions

View File

@@ -51,12 +51,14 @@ public:
float frameRate = 0.0f,
bool odometryIgnored = false,
bool ignoreGoalDelay = false,
bool goalsIgnored = false);
bool goalsIgnored = false,
int cameraIndex = -1);
DBReader(const std::list<std::string> & databasePaths,
float frameRate = 0.0f,
bool odometryIgnored = false,
bool ignoreGoalDelay = false,
bool goalsIgnored = false);
bool goalsIgnored = false,
int cameraIndex = -1);
virtual ~DBReader();
bool init(int startIndex=0);
@@ -73,6 +75,7 @@ private:
bool _odometryIgnored;
bool _ignoreGoalDelay;
bool _goalsIgnored;
int _cameraIndex;
DBDriver * _dbDriver;
UTimer _timer;