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

Possible to record a specific time window (from T1 to T2) of a rosbag?

$
0
0
Hello, I am trying to understand if it is possible to record only a specific time window (from Time T1 to time T2) in a `rosbag`. The reason for this is that I need to print the result of specific topics into 2 different `.csv` files. According to the `rosbag` [official documentation](http://wiki.ros.org/rosbag/Tutorials/Recording%20and%20playing%20back%20data) is possible to start recording from a specific point in time in the bag, and in fact that is what I am doing, but don't know how to set an end time: But is it possible to set a limit in the time recording? From the example below, I need to record from approximately minute 39 to minute 224 (4h 4' 0" )approximately so: **Beginning of the recording** : 39*60 = 2340 seconds **End of the recording**: 224*60 = 13440 second ![1](https://i.imgur.com/nZ4gGdG.png) Thank for pointing in the right direction on this matter. [1]: https://imgur.com/nZ4gGdG

Viewing all articles
Browse latest Browse all 475

Trending Articles



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