mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
DatabaseViewer: fixed frame rate stats when exporting a specified session of a database
This commit is contained in:
@@ -701,12 +701,13 @@ void DatabaseViewer::exportDatabase()
|
||||
if(sessionExported < 0 || sessionExported == mapId)
|
||||
{
|
||||
ids.push_back(ids_[i]);
|
||||
|
||||
if(previousStamp && stamp)
|
||||
{
|
||||
delays[oi++] = stamp - previousStamp;
|
||||
}
|
||||
previousStamp = stamp;
|
||||
}
|
||||
if(previousStamp && stamp)
|
||||
{
|
||||
delays[oi++] = stamp - previousStamp;
|
||||
}
|
||||
previousStamp = stamp;
|
||||
}
|
||||
if(sessionExported >= 0 && mapId > sessionExported)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user