mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Deprecated Rtabmap::get3DMap(), use Rtabmap::getGraph() instead with setting to true the data flags. Rtabmap::getGraph() now ignores children nodes.
This commit is contained in:
@@ -398,11 +398,15 @@ int RTABMapApp::openDatabase(const std::string & databasePath, bool databaseInMe
|
||||
std::multimap<int, rtabmap::Link> links;
|
||||
LOGI("Loading full map from database...");
|
||||
UEventsManager::post(new rtabmap::RtabmapEventInit(rtabmap::RtabmapEventInit::kInfo, "Loading data from database..."));
|
||||
rtabmap_->get3DMap(
|
||||
signatures,
|
||||
rtabmap_->getGraph(
|
||||
poses,
|
||||
links,
|
||||
true,
|
||||
true,
|
||||
&signatures,
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
true);
|
||||
|
||||
if(signatures.size() && poses.empty())
|
||||
|
||||
Reference in New Issue
Block a user