mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
C++ example: explicitly close rtabmap without saving to db to avoid error when quitting
This commit is contained in:
@@ -251,5 +251,7 @@ int main(int argc, char * argv[])
|
|||||||
printf("Saving rtabmap_trajectory.txt... failed!\n");
|
printf("Saving rtabmap_trajectory.txt... failed!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rtabmap->close(false);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user