fixed odometry "empty image?" error when reading from database with

stereo images, fixed databaseViewer fatal error when there are null
poses
This commit is contained in:
Mathieu Labbe
2015-01-08 16:12:45 -05:00
parent db382d6149
commit 05ee9a7b84
3 changed files with 30 additions and 4 deletions

View File

@@ -230,6 +230,11 @@ SensorData DBReader::getNextData()
pose,
variance,
seq);
UDEBUG("Laser=%d RGB/Left=%d Depth=%d Right=%d",
data.laserScan().empty()?0:1,
data.image().empty()?0:1,
data.depth().empty()?0:1,
data.rightImage().empty()?0:1);
}
}
else