Skip to content

Commit

Permalink
ios/android: fixed database loading failing when one node doesn't hav…
Browse files Browse the repository at this point in the history
…e any depth or scan (#1147).
  • Loading branch information
matlabbe committed Oct 21, 2023
1 parent 948e15c commit 71bb0cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/android/jni/RTABMapApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 71bb0cf

Please sign in to comment.