Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 475

Emulate missing messages from rosbag; publish only every 2nd/4th/8th message

$
0
0
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?

Viewing all articles
Browse latest Browse all 475

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>