I'm not sure why you aren't publishing time in the header, but if there is not a good reason not to, the line 65 could be useful for others:
cloud_msg.header.stamp = ros::Time::now();
feel free to integrate if you don't have a good reason not to publish time now
I'm not sure why you aren't publishing time in the header, but if there is not a good reason not to, the line 65 could be useful for others: cloud_msg.header.stamp = ros::Time::now();
feel free to integrate if you don't have a good reason not to publish time now