how does service work with master ?

asked 2017-01-24 21:54:27 -0600

sam26 gravatar image

In the concept of topic , I learnt that nodes ready to publish/ subscribe notify the master and the master then exchanges each other's IP addresses and these nodes then communicate . However in services , is it that the publishing node will notify the master of its service and the subscribing node also notifies about the subscription to that service and then the master "ONLY " notifies the subscription node of publishing node's location and then this node sends a request to the service node ( this is when the service node becomes aware of its client , rather than the master sharing the information ) and awaits a response from the service node ? If yes , how is it advantageous as compared to the communication via topic . please give a detailed answer . Thank you.

edit retag flag offensive close merge delete

Comments

Perhaps this answers your question: http://wiki.ros.org/ROS/Patterns/Comm...

ahendrix gravatar image ahendrix  ( 2017-01-24 22:42:35 -0600 )edit

hmm sorry but not exactly

sam26 gravatar image sam26  ( 2017-01-25 03:12:23 -0600 )edit