mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 01:27:46 +08:00
rtabmap: added parameter to keep the old id or to update to new id when merging on rehearsal
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@758 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -1106,6 +1106,7 @@ void DBDriverSqlite3::loadNeighborsQuery(int signatureId, std::set<int> & neighb
|
||||
|
||||
query << "SELECT to_id FROM Link "
|
||||
<< "WHERE from_id = " << signatureId
|
||||
<< " AND type = 0"
|
||||
<< " ORDER BY to_id";
|
||||
|
||||
rc = sqlite3_prepare_v2(_ppDb, query.str().c_str(), -1, &ppStmt, 0);
|
||||
@@ -1133,7 +1134,7 @@ void DBDriverSqlite3::loadNeighborsQuery(int signatureId, std::set<int> & neighb
|
||||
|
||||
if(neighbors.size() == 0)
|
||||
{
|
||||
UERROR("No neighbors loaded from signature %d", signatureId);
|
||||
//UERROR("No neighbors loaded from signature %d", signatureId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user