rostopic list

asked 2021-04-08 07:08:36 -0500

bela gravatar image

Hy!:) If I want to visualize a topic, but if I type in a rostopic list, I have few topics, do I have to first subscribe to the topic I want and then visualize? I want to clarify this question because of my initial knowledge.

edit retag flag offensive close merge delete

Comments

Elaborate "visualize". Are you perhaps looking for rostopic echo?

abhishek47 gravatar image abhishek47  ( 2021-04-08 08:47:53 -0500 )edit

As I know, I prefer to use the rostopic pub command. I have bag files and want to visualize it for them

bela gravatar image bela  ( 2021-04-08 09:23:29 -0500 )edit

Can you maybe elaborate more or give a short example or what you have, please? Still hard to understand what you are trying to do.

knxa gravatar image knxa  ( 2021-04-09 03:48:50 -0500 )edit

I want to visualize the topic of a bag file, maybe you can help with that?

bela gravatar image bela  ( 2021-04-09 04:03:23 -0500 )edit

You are not providing more details. I can only suggest what abhishek47kashyap already did:

rosbag play BAGFILE
rostopic echo TOPICNAME
knxa gravatar image knxa  ( 2021-04-09 05:21:45 -0500 )edit