mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
Generating Graph in the c++ example
Added png of the generated graph in doc git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@707 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -111,6 +111,10 @@ int main(int argc, char * argv[])
|
||||
|
||||
printf("Processing images completed. Loop closures found = %d\n", countLoopDetected);
|
||||
|
||||
// Generate a graph for visualization with Graphiz
|
||||
rtabmap.generateGraph("Graph.dot");
|
||||
printf("Generated graph \"Graph.dot\", viewable with Graphiz using \"neato -Tpdf Graph.dot -o out.pdf\"\n");
|
||||
|
||||
// Cleanup... save database and logs
|
||||
printf("Saving Long-Term Memory to \"LTM.db\"...\n");
|
||||
rtabmap.close();
|
||||
|
||||
Reference in New Issue
Block a user