mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
ios/android: fixed database loading failing when one node doesn't have any depth or scan (#1147).
This commit is contained in:
@@ -649,9 +649,9 @@ int RTABMapApp::openDatabase(const std::string & databasePath, bool databaseInMe
|
||||
UWARN("Cloud %d is empty", id);
|
||||
}
|
||||
}
|
||||
else
|
||||
else if(!data.depthOrRightCompressed().empty() || !data.laserScanCompressed().isEmpty())
|
||||
{
|
||||
UERROR("Failed to uncompress data!");
|
||||
UERROR("Failed to uncompress data! (rgb=%d, depth=%d, scan=%d)", data.imageCompressed().cols, data.depthOrRightCompressed().cols, data.laserScanCompressed().size());
|
||||
status=-2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user