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

Tango_Ros_Streamer record data???

asked 2017-07-11 09:34:28 -0500

trinamntn08 gravatar image

I want to record data from Tango with Tango Ros Streamer and save them into a bag by command: rosbag record -a When i visualize sequence of image in this bag, i realize the frame rate is extremely slow. Do you have any idea to modify or fix frame rate with this application?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-07-12 21:04:53 -0500

Ed Venator gravatar image

Looking at the documentation for tango_ros_streamer, I see that it outputs a lot of data, including some high-bandwidth topics like point clouds and images. When you are recording all of the ROS messages with rosbag record -a, you may be recording data faster than your hard drive can store it, causing rosbag record to drop messages. There are a few ways you could solve that problem:

  • If you don't need all of the data (you only mention looking at the images), you can specify only those topics to record.
  • If you're recording to a platter hard drive, you could try switching to a solid state drive.
  • You might also be able to improve recording performance by increasing the buffer size. For example, rosbag record -a --buffersize=1024 quadruples the message buffer during recording. For more information, see the rosbag command line documentation.
edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-07-11 09:34:28 -0500

Seen: 182 times

Last updated: Jul 12 '17