I would like to check would stable some of my processing nodes work if there is data lost somehow. I would like to do so by feeding them only with every 2nd/4th/8th message of each topic of a rosbag. Is there anything ready to use for this?
If not there might be the following approaches for this:
1. Use rosbag API to convert the bag and create a copied bag file that contains only every 2nd/4th/8th message.
2. Set up a republisher node between the rosbag and the processing chain that only passes every 2nd/4th/8th message.
3. Anything else you suggest;)
Which approach do you think is perferable?
↧