rosbag time slicing?
Is there a tool for slicing a bag file by time (e.g. cut out 30m of data from the middle of a bag)? Or does everyone just use a filter over the timestamps?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is there a tool for slicing a bag file by time (e.g. cut out 30m of data from the middle of a bag)? Or does everyone just use a filter over the timestamps?
I don't know about such a tool. With rxbag you can export parts of a bag file though. Another way would be to write a simple python script that uses the rosbag python API. Shouldn't be too much code and it should be pretty similar to the first example in the rosbag cookbook.
How do you export part of the bag with rxbag? That was my intuition as well, but I couldn't find the feature...
Asked: 2012-08-08 06:30:15 -0600
Seen: 2,304 times
Last updated: Aug 08 '12
How to extract data from *.bag?
rosbag play & tf static_transform_publisher
Has there been progress for URDF transform jitter in RVIZ?
how to publish a topic from kinect in a node?
What topics are necessary to log for creating a SLAM comparison bag file?
slam_gmapping MappingFromLoggedData out of dual 32-bit range