mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-06 01:57:45 +08:00
Memory::getNeighborsId() fixed no link returned when looking in database
This commit is contained in:
@@ -3726,7 +3726,7 @@ void DBDriverSqlite3::loadLinksQuery(
|
||||
query << "SELECT to_id, type, transform FROM Link ";
|
||||
}
|
||||
query << "WHERE from_id = " << signatureId;
|
||||
if(typeIn != Link::kUndef)
|
||||
if(typeIn < Link::kEnd)
|
||||
{
|
||||
if(uStrNumCmp(_version, "0.7.4") >= 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user