Pause rosbag

asked 2017-05-12 16:38:55 -0600

rose1360 gravatar image

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... Could you please help me with this issue? Thanks,

edit retag flag offensive close merge delete

Comments

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

gvdhoorn gravatar image gvdhoorn  ( 2017-05-13 02:48:40 -0600 )edit

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 ?!

rose1360 gravatar image rose1360  ( 2017-05-25 13:16:49 -0600 )edit

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.

gvdhoorn gravatar image gvdhoorn  ( 2017-05-25 15:30:03 -0600 )edit