Home | Tutorials | Wiki | Issues
Ask Your Question
0

How to echo a topic if not using ROS?

asked 2019-04-29 18:03:16 -0500

Wireline gravatar image

Hi Somehow despite being a ROS user for a couple of years, I never realised gazebo has its own publisher / subscriber system that works separately from ROS! I am guessing this somehow works with plugins, however is there an equivalent of

rostopic list rostopic echo

That can be run from the command line to simply monitor the output from the plugins? Or does this need to be added as a cout statement?

Additionally, are the nodes you ca initialize different from ROS nodes? I have read the tutorials but still feel unclear,

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-04-30 10:45:58 -0500

rasecg3 gravatar image

Hi,

You can use the gz command for doing it. There are nice things you can do using gz. Give a try and type gz on your terminal and it will appear the help message with all your options.

For your question in specific, using gz topic --echo <topic> will show the topic messages. For see all running topics, you can run gz topic --list

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-04-29 18:03:16 -0500

Seen: 80 times

Last updated: Apr 30