ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Try changing your declaration to the following. You've declared for ConstPtr but using for SharedPtr.

std::queue<sensor_msgs::msg::PointCloud2::SharedPtr> pointCloudBuf;