Added Database recorder menu option

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1433 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-06-23 00:26:14 +00:00
parent 65b79cd7a2
commit ad04fed7e6
5 changed files with 66 additions and 2 deletions

View File

@@ -127,6 +127,12 @@ void DBReader::mainLoop()
{
Image data(image, depth, depth2d, depthConstant, pose, localTransform);
this->post(new OdometryEvent(data));
if(pose.isNull())
{
UWARN("Reading the database: odometry is null! "
"Please set \"Ignore odometry = true\" if there is "
"no odometry in the database.");
}
}
else
{