Handle several server for a service with ROS2

asked 2020-07-16 11:42:53 -0500

maxime gravatar image

updated 2020-07-18 06:48:42 -0500

Let's say I have 1 NODE_TYPE_1 and 2 NODE_TYPE_2. They are on the same network.

If I wanted to call a service on the first NODE_TYPE_2, how would I avoid the other NODE_TYPE_2 to receive the call too. Here we assume that each of the NODE_TYPE_2 create the service with the same ID ("command_X"). Of course we could set the services with specific ID ("ID/command_X"). But is there any other way to do it ?

edit retag flag offensive close merge delete