mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-04 17:17:47 +08:00
0.16.2: Added wm_state field to database's Statistics table. New parameter "Rtabmap/SaveWMState" (default false). DbViewer: added option in GraphView to show only poses of the root id that were in WM at that time
This commit is contained in:
@@ -245,11 +245,11 @@ ParametersMap DBDriver::getLastParameters() const
|
||||
return parameters;
|
||||
}
|
||||
|
||||
std::map<std::string, float> DBDriver::getStatistics(int nodeId, double & stamp) const
|
||||
std::map<std::string, float> DBDriver::getStatistics(int nodeId, double & stamp, std::vector<int> * wmState) const
|
||||
{
|
||||
std::map<std::string, float> statistics;
|
||||
_dbSafeAccessMutex.lock();
|
||||
statistics = getStatisticsQuery(nodeId, stamp);
|
||||
statistics = getStatisticsQuery(nodeId, stamp, wmState);
|
||||
_dbSafeAccessMutex.unlock();
|
||||
return statistics;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user