Publishing .bag file for different nodes
Let's say I have two topics publishing data:
/chatter1
/chatter1
These two topics are currently saving to a rosbag
file as they publish the data. I'm creating another node which extracts the features. I therefore need to create a node that subscribes to the .bag
file and then writes these to an array which I can then use for extracting the features from.
Is this possible in ros? And can anyone offer any tutorials on this?
Thanks