mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user