Extract single message from large rosbag
Hi,
I have a rosbag collected from a SLAM algo that I left to run overnight, which publishes an incrementally updated map as a PointCloud2 message.
I would like to extract only the last message (final map), so that I can convert it to a PCD file with pcl_ros.
I find myself unable to find a way to perform such a simple operation.
Any tips?