Subsampling a bagfile
I want to subsample a bag file of images to one keyframe per-second. I'm using ROS kinetic. I'm running Ubuntu 16.04 on a laptop i7 64 bits with a kernel Linux 4.15.0-55-generic
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I want to subsample a bag file of images to one keyframe per-second. I'm using ROS kinetic. I'm running Ubuntu 16.04 on a laptop i7 64 bits with a kernel Linux 4.15.0-55-generic
This question appears to be very similar to this previous Q/A (278458). Unfortunately, it appears there is no one-liner solution to this, but using the rosbag API lets you do anything.
A straightforward option to use when your application involves playing back the bag data would be running a topic_tools/throttle node on the topic(s) and feed those to subscribers instead of the original one(s).
Asked: 2019-08-11 09:14:58 -0500
Seen: 148 times
Last updated: Aug 11 '19
How to extract video from bag file?
Extracting one of the values from a Message in a Bag file [closed]
How to connect the kinetic sensor to my ROS computer
How to write depth image to a bag right. [closed]
Best way to save multiple sensor for later processing?