mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-12 12:39:50 +08:00
Applying https://github.com/introlab/rtabmap_ros/pull/1233 to ros1
This commit is contained in:
@@ -302,6 +302,7 @@ private:
|
|||||||
|
|
||||||
void callbackCloud(const sensor_msgs::PointCloud2ConstPtr & cloudMsg)
|
void callbackCloud(const sensor_msgs::PointCloud2ConstPtr & cloudMsg)
|
||||||
{
|
{
|
||||||
|
callbackCalled_ = true;
|
||||||
if(cloudPub_.getNumSubscribers())
|
if(cloudPub_.getNumSubscribers())
|
||||||
{
|
{
|
||||||
UASSERT_MSG(cloudMsg->data.size() == cloudMsg->row_step*cloudMsg->height,
|
UASSERT_MSG(cloudMsg->data.size() == cloudMsg->row_step*cloudMsg->height,
|
||||||
|
|||||||
Reference in New Issue
Block a user