ros-pkg: don't use anymore image sequence from the ros msg received (fixed ids bug when restarting rtabmap with an existing database)

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@925 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2013-08-27 19:56:40 +00:00
parent e08e64930c
commit af3a099986
+1 -1
View File
@@ -125,7 +125,7 @@ void CoreWrapper::imageReceivedCallback(const sensor_msgs::ImageConstPtr & msg)
{
//ROS_INFO("Received image.");
cv_bridge::CvImageConstPtr ptr = cv_bridge::toCvShare(msg);
rtabmap_->process(ptr->image, ptr->header.seq);
rtabmap_->process(ptr->image);
const Statistics & stats = rtabmap_->getStatistics();
this->publishStats(stats);
}