Ask Your Question
0

publisher-subcriber communication is stable?

asked 2016-09-15 14:24:06 -0500

demi H gravatar image

updated 2016-09-15 14:39:55 -0500

I made 2 ROS node. One is for publishing and the other is for subscribing. However, sometimes receiving callback function is not called , even though a message is published.

Is the communication in publisher-subscriber is guaranteed?

Also, which kind of communication model is recommended when there are only 1 publisher and only 1 subscriber?(one-to-one)

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-09-15 15:04:55 -0500

ahendrix gravatar image

The connection between a publisher and its subscribers should work. It may drop messages if the queues become full, but otherwise you should see reliable message transport. If you're seeing something other than the occasional dropped message, there's probably some kind of issue with your configuration.

Random failures are almost never random; the first step to troubleshooting this is to figure out which conditions reliably cause the issue you're seeing.

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

2 followers

Stats

Asked: 2016-09-15 14:24:06 -0500

Seen: 39 times

Last updated: Sep 15 '16