Skip to content
Snippets Groups Projects
Commit 3a454f81 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Update to usage of armarx DateTime

parent 1f6493f1
No related branches found
No related tags found
1 merge request!128Update to usage of armarx DateTime
......@@ -183,7 +183,7 @@ namespace visionx
ivtImagesBuffer.emplace_back(&ivt);
}
TIMING_START(Provide);
resultImageProvider->provideResultImages(ivtImagesBuffer.data(), armemToImage.timestamp.toMicroSeconds());
resultImageProvider->provideResultImages(ivtImagesBuffer.data(), armemToImage.timestamp.toMicroSecondsSinceEpoch());
TIMING_END_STREAM(Provide, ARMARX_VERBOSE);
armemToImage.updated = false;
......
......@@ -93,7 +93,7 @@ namespace visionx::armem_images
debugObserver->setDebugChannel(debugObserverChannelName,
{
{ "Fetch [us]", new armarx::Variant(Fetch.toMicroSecondsDouble()) },
{ "Timestamp [ms]", new armarx::Variant(timestamp.toMilliSecondsDouble()) },
{ "Timestamp [ms]", new armarx::Variant(timestamp.toDurationSinceEpoch().toMilliSecondsDouble()) },
});
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment