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:
matlabbe
2017-11-09 12:03:01 -05:00
parent 8cdd138143
commit 71d9816f4b
22 changed files with 685 additions and 602 deletions
+9
View File
@@ -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";