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

Can I record the data of the latest several seconds to a .bag?

$
0
0
Hi, I would like to record the data of the latest several seconds, but do not find any way to do that. I think that what I need is a queue. Say, a topic of 1 hz, and I want to record the latest three seconds. The first three seconds are pushed to the queue. When the time stamp is larger than three, the data in the head is pulled, and the new data is pushed. t0-t1-t2 -> t1-t2-t3 -> t2-t3-t4 I do not know if I am right. Or, is there any easy way to do that? Many thanks.

Viewing all articles
Browse latest Browse all 475

Trending Articles



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