ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Try changing your declaration to the following. You've declared for ConstPtr
but using for SharedPtr
.
std::queue<sensor_msgs::msg::PointCloud2::SharedPtr> pointCloudBuf;