ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

The answer most likely has to do with the ~sec_per_frame parameter of extract_images. It defaults to 0.1 seconds per frame, and your Kinect data is likely recorded at 30 seconds per frame. In fact (10/30)*193 ~= 64 which is right about where your extract_images node stops. Using this setup, I've never had very good luck getting out the exact number of images that were originally recorded.

One thing that I have had some luck with is bag2video (not sure if you are ultimately trying to get videos).

The answer most likely has to do with the ~sec_per_frame parameter of extract_images. It defaults to 0.1 seconds per frame, and your Kinect data is likely recorded at 30 seconds per frame. In fact (10/30)*193 ~= 64 which is right about where your extract_images node stops. Using this setup, I've never had very good luck getting out the exact number of images that were originally recorded.recorded. Presumably, if you change ~sec_per_frame to be 0.033, you'll get most of the images.

One thing that I have had some luck with is bag2video (not sure if you are ultimately trying to get videos).