mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
RtabmapThread: using stamps in odometry messages to throttle detection rate (if stamps are not set, system time is used)
This commit is contained in:
@@ -405,12 +405,14 @@ SensorData CameraImages::captureImage()
|
||||
{
|
||||
if(this->getImageRate() > 0.0f)
|
||||
{
|
||||
UWARN("CameraImages: Cannot read images as fast as their timestamps (delay=%f s). Disable "
|
||||
"source image rate or disable synchronization of capture time with timestamps.", _captureDelay);
|
||||
UWARN("CameraImages: Cannot read images as fast as their timestamps (target delay=%fs, capture time=%fs). Disable "
|
||||
"source image rate or disable synchronization of capture time with timestamps.",
|
||||
_captureDelay, _captureTimer.getElapsedTime());
|
||||
}
|
||||
else
|
||||
{
|
||||
UWARN("CameraImages: Cannot read images as fast as their timestamps (delay=%f s).", _captureDelay);
|
||||
UWARN("CameraImages: Cannot read images as fast as their timestamps (target delay=%fs, capture time=%fs).",
|
||||
_captureDelay, _captureTimer.getElapsedTime());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user