mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-06 01:37:46 +08:00
Updated for rtabmap 0.10.0 (multi-cameras)
This commit is contained in:
+1
-1
@@ -236,7 +236,7 @@ protected:
|
||||
if(event->getClassName().compare("CameraEvent") == 0)
|
||||
{
|
||||
rtabmap::CameraEvent * e = (rtabmap::CameraEvent*)event;
|
||||
const cv::Mat & image = e->data().image();
|
||||
const cv::Mat & image = e->data().imageRaw();
|
||||
if(!image.empty() && image.depth() == CV_8U)
|
||||
{
|
||||
cv_bridge::CvImage img;
|
||||
|
||||
Reference in New Issue
Block a user