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

Revision history [back]

click to hide/show revision 1
initial version

Thanks a lot. I think I linked the wrong code in the OP, but what I was doing was subscribing to a sensor message, and then designing my combination of filters in a callback function (as suggested in one of the pcl_ros tutorials which I meant to link originally).

As I said, the problem was me misusing the constructor. Once I used it properly, using both the code and the topic provided, everything works perfectly, and I can filter the same pointcloud as many times as I need. Since I ended up working with pointers, I didn't need to use makeShared() to make it work.