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

Data saved samples down when recording a rosbag

asked 2017-04-19 12:42:52 -0600

Joy16 gravatar image

I am trying to save RGB and Depth images from 5 different sensors and as well record a rosbag from them. When ever I try to record he rosbag, the number of images saved drops from 30Hz to 7 Hz. Without the rosbag, it looks fine. How can I handle this situation?

Should I try recording rosbag in a different system or should I selectively sample the data saved in rosbag? Any ideas?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-19 17:40:19 -0600

Geoff gravatar image

You should do some investigation to find the reason for the slow-down first. There are several possible causes, including the settings you are using to record the bag file (do you have compression turned on? Run your nodes and rosbag, and see how much CPU time is being used by each relevant process) and whether the quantity of data coming in is too high for your hard disc (use dd or the Disk Utility/gnome-disks in Ubuntu to see if your hard disc is fast enough). Recording on another system is a possible solution but then you need to consider if the network bandwidth is enough for all that data.

It would help to know your system's specifications and what your data is like. How big are the images?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-04-19 12:42:52 -0600

Seen: 356 times

Last updated: Apr 19 '17