Robotics StackExchange | Archived questions

Get rosbag record status

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!

Asked by JayDe on 2018-05-29 07:50:00 UTC

Comments

Answers

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.

Asked by PeteBlackerThe3rd on 2018-05-29 09:45:18 UTC

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...

Asked by JayDe on 2018-05-30 04:30:47 UTC