mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
removed ImagesDbExtractor tool (already inside databaseViewer)
add optional delay to DBReader added more options to odometryViewer tool git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1264 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
#include <rtabmap/utilite/ULogger.h>
|
||||
#include <rtabmap/utilite/UFile.h>
|
||||
#include <rtabmap/core/CameraOpenni.h>
|
||||
#include <rtabmap/core/Camera.h>
|
||||
#include <rtabmap/core/CameraThread.h>
|
||||
@@ -97,6 +98,12 @@ int main (int argc, char * argv[])
|
||||
}
|
||||
fileName = argv[argc-1]; // the last is the output path
|
||||
|
||||
if(UFile::getExtension(fileName.toStdString()).compare("db") != 0)
|
||||
{
|
||||
printf("Database names must end with .db extension\n");
|
||||
showUsage();
|
||||
}
|
||||
|
||||
UINFO("Output = %s", fileName.toStdString().c_str());
|
||||
UINFO("Show = %s", show?"true":"false");
|
||||
UINFO("Openni = %s", openni?"true":"false");
|
||||
|
||||
Reference in New Issue
Block a user