mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
fixed double warnings "Camera has no more images"
This commit is contained in:
@@ -64,10 +64,6 @@ void OdometryThread::handleEvent(UEvent * event)
|
|||||||
{
|
{
|
||||||
this->addData(cameraEvent->data());
|
this->addData(cameraEvent->data());
|
||||||
}
|
}
|
||||||
else if(cameraEvent->getCode() == CameraEvent::kCodeNoMoreImages)
|
|
||||||
{
|
|
||||||
this->post(new CameraEvent()); // forward the event
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if(event->getClassName().compare("OdometryResetEvent") == 0)
|
else if(event->getClassName().compare("OdometryResetEvent") == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user