mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Updated default x-axis units of the figures with time stamps instead of IDs (#48).
This commit is contained in:
@@ -102,6 +102,7 @@ SensorData Camera::takeImage(CameraInfo * info)
|
||||
if(info)
|
||||
{
|
||||
info->id = data.id();
|
||||
info->stamp = data.stamp();
|
||||
info->timeCapture = captureTime;
|
||||
}
|
||||
return data;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user