Updated default x-axis units of the figures with time stamps instead of IDs (#48).

This commit is contained in:
matlabbe
2016-07-17 19:58:32 -04:00
parent 705f4337e4
commit 711ff2692c
9 changed files with 131 additions and 77 deletions
+1
View File
@@ -2210,6 +2210,7 @@ bool Rtabmap::process(
{
ULOGGER_INFO("sending stats...");
statistics_.setRefImageId(_memory->getLastSignatureId()); // Use last id from Memory (in case of rehearsal)
statistics_.setStamp(data.stamp());
if(_loopClosureHypothesis.first != Memory::kIdInvalid)
{
statistics_.setLoopClosureId(_loopClosureHypothesis.first);