mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 16:57:46 +08:00
rtabmap-pkg: using id from image msg
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@741 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -111,7 +111,7 @@ void CoreWrapper::imageReceivedCallback(const sensor_msgs::ImageConstPtr & msg)
|
|||||||
{
|
{
|
||||||
//ROS_INFO("Received image.");
|
//ROS_INFO("Received image.");
|
||||||
cv_bridge::CvImageConstPtr ptr = cv_bridge::toCvShare(msg);
|
cv_bridge::CvImageConstPtr ptr = cv_bridge::toCvShare(msg);
|
||||||
rtabmap_->process(ptr->image.clone());
|
rtabmap_->process(ptr->image.clone(), ptr->header.seq);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user