Robotics StackExchange | Archived questions

Pause rosbag

Hi all,

I am trying to collect data from the robot by running $ rostopic echo 'topic name' command and save them into rosbag. But I do not want record all the time and I want to pause rosbag on some segment of trajectory. I found below link and they said that this functionality is in their roadmap but I coulnd find anything! http://ros-users.122217.n3.nabble.com/rosbag-external-control-td920048.html Could you please help me with this issue? Thanks,

Asked by rose1360 on 2017-05-12 16:38:55 UTC

Comments

Can you clarify why you use rostopic echo .. and rosbag record .. together? This is not a typical use of rosbag.

Asked by gvdhoorn on 2017-05-13 02:48:40 UTC

Because I want to see stream of velocities published by rostopic echo and I want to save those in rosbag in order to be able to analyzing them. Am I in wrong track ?!

Asked by rose1360 on 2017-05-25 13:16:49 UTC

rosbag record .. already records all the topics that you specify. You can use rostopic echo .. at the same time. But maybe I misunderstood you: I thought you were trying to get the output of rostopic echo .. to be recorded by rosbag, but that is probably not the case.

Asked by gvdhoorn on 2017-05-25 15:30:03 UTC

Answers