mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-05 17:27:46 +08:00
Refactored Camera classes and Preferences->Source menu
This commit is contained in:
@@ -60,7 +60,7 @@ void OdometryThread::handleEvent(UEvent * event)
|
||||
if(event->getClassName().compare("CameraEvent") == 0)
|
||||
{
|
||||
CameraEvent * cameraEvent = (CameraEvent*)event;
|
||||
if(cameraEvent->getCode() == CameraEvent::kCodeImageDepth)
|
||||
if(cameraEvent->getCode() == CameraEvent::kCodeData)
|
||||
{
|
||||
this->addData(cameraEvent->data());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user