ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

how to time-index the bag files?

asked 2012-09-28 23:24:09 -0600

Astronaut gravatar image

updated 2012-09-29 08:48:16 -0600

joq gravatar image


I would like to know how to time-index the bag files. I think filenames can be time-stamp with actual ROS real-time. Im I wright?? Any help on this??


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2012-09-29 08:43:27 -0600

joq gravatar image

updated 2012-09-29 08:47:33 -0600

By default, rosbag record will name its output file using the current system date and time. You can use the -o option to specify a prefix to go with that date stamp.

Most individual messages contain a ROS time stamp in the Header field.

Is that what you want?

edit flag offensive delete link more


Ok. Thanks

Astronaut gravatar image Astronaut  ( 2012-10-15 13:55:52 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-09-28 23:24:09 -0600

Seen: 440 times

Last updated: Sep 29 '12