Ask Your Question
0

does rostopic echo consider as a subscriber?

asked 2020-12-22 02:23:25 -0500

benthebear93 gravatar image

so i been browsing some packages (specially this one. https://github.com/ros-industrial/key...). In this package, they say that 'no pulling from sensor if there is no subscriber'

actual readme contents was "By default the node publishes XYZ point clouds on the profiles topic. Note that nothing will be published if no one subscribes that topic."

And i was kind a lazy to make subscriber so i thought why just try to use rostopic echo as subscriber. and the question is that, "does the rostopic echo works as a subscriber or other method?" i wonder how the echo works, and i went to ros_comm github but it was little difficult to find "rostopic echo" part of code.

if there is anyone had same question like me plz inlight me thx! (excues my bad english)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2020-12-22 03:30:50 -0500

gvdhoorn gravatar image

does the rostopic echo works as a subscriber

yes.

does rostopic echo [count] as a subscriber?

yes.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-12-22 02:23:25 -0500

Seen: 41 times

Last updated: Dec 22 '20