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

Get rosbag record status

asked 2018-05-29 07:50:00 -0600

JayDe gravatar image

Hi!

I am looking for a way to find out about the current status of "rosbag record". More specifically, I want to know the filename of the currently recorded file and the filename of the last completed file. This is basically the information printed to [INFO] in the terminal window, but I do want to use the information in another ROS node.

I have checked the parameter server and the list of advertised topics, but could not find anything related.

Any idea how to achieve this? Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-05-29 09:45:18 -0600

I don't think there is any way to do this. However you can set the file name that rosbag records to, you can control this from a parameter in a launch file and share this parameter with other nodes. This may help you achieve what you want.

edit flag offensive delete link more

Comments

hey. I don't think this is very practible. When I want to make long recordings I like to use the split option of rosrecord. But then I do not know from the outside which file currently is being worked on...

JayDe gravatar image JayDe  ( 2018-05-30 04:30:47 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2018-05-29 07:50:00 -0600

Seen: 198 times

Last updated: May 29 '18