0
$\begingroup$

Rosanswers logo

Hi! I am using rosbag play in a launch file, and one of the recorded topics is processed data from the other topics. As I want to produce again, I would like to play all topics except that one.

I know I should have given it an anonymous name or I can play it in a namespace. But I would like just not to have that topic playing.

Thanks!

Cristian


Originally posted by cduguet on ROS Answers with karma: 187 on 2012-09-11

Post score: 4

$\endgroup$

2 Answers 2

0
$\begingroup$

Rosanswers logo

Another option would be to create another bag file without the unwanted topic using 'rosbag filter'

http://www.ros.org/wiki/rosbag/Tutorials/Producing%20filtered%20bag%20files


Originally posted by david.hodo with karma: 395 on 2012-09-11

This answer was ACCEPTED on the original site

Post score: 7

$\endgroup$
0
$\begingroup$

Rosanswers logo

They hacky version would be to remap this somewhere, e.g. rosbag play ... my_topic:=my_topc_dev_null_no_one_will_subscribe_this


Originally posted by dornhege with karma: 31395 on 2012-09-11

This answer was NOT ACCEPTED on the original site

Post score: 7

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.