fixed runtime errors for single depth camera and stereo

This commit is contained in:
Mathieu Labbe
2015-05-30 20:05:35 -04:00
parent c5046df226
commit 9e13642a47
20 changed files with 232 additions and 275 deletions

View File

@@ -149,7 +149,7 @@ void DBReader::mainLoopBegin()
void DBReader::mainLoop()
{
OdometryEvent odom = this->getNextData();
if(odom.isValid())
if(odom.data().id())
{
int goalId = 0;
double previousStamp = odom.data().stamp();