mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 01:27:46 +08:00
0.15: statistics are now compressed in database. Eigen issue: using linear() instead of rotation() to get rotation from affine3f. Increased loading speed of statistics in DatabaseViewer. Added graph:calcRMSE().
This commit is contained in:
@@ -254,6 +254,15 @@ std::map<std::string, float> DBDriver::getStatistics(int nodeId, double & stamp)
|
||||
return statistics;
|
||||
}
|
||||
|
||||
std::map<int, std::pair<std::map<std::string, float>, double> > DBDriver::getAllStatistics() const
|
||||
{
|
||||
std::map<int, std::pair<std::map<std::string, float>, double> > statistics;
|
||||
_dbSafeAccessMutex.lock();
|
||||
statistics = getAllStatisticsQuery();
|
||||
_dbSafeAccessMutex.unlock();
|
||||
return statistics;
|
||||
}
|
||||
|
||||
std::string DBDriver::getDatabaseVersion() const
|
||||
{
|
||||
std::string version = "0.0.0";
|
||||
|
||||
Reference in New Issue
Block a user