ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Services groovy and multiple machines

asked 2013-03-13 22:33:14 -0500

fmarques gravatar image

Hi, I've used ROS since the electric version and made several nodes that included services. Now in groovy (catkin) I've tried to make a node that advertises a service, everything worked fine until I called it from another machine and got a unknow service error message.

So I tried to do the tutorial of creating a simple service(AddTwoInts), and the same thing happend.(ok in same machine does not work if called from another) But if I run the cpp begginer tutorials already compiled in ROS groovy the service works in the same machine as well as in multiple machines. I've altered the package.xml and the CMakelist to the same as in the begginer tutorials in ROS repository.

So I'm kind of lost anybody had the same kind of problem?

Thanks, Francisco Marques

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-03-14 02:21:17 -0500

dornhege gravatar image

The other machine needs to know the service definition as well.

edit flag offensive delete link more


I get that. But I have to build the node that advertises/create the service definition in all of the computers that use that service?

fmarques gravatar image fmarques  ( 2013-03-15 00:23:45 -0500 )edit

Only the service and whatever you use for calling. If that's the case something else is wrong.

dornhege gravatar image dornhege  ( 2013-03-15 03:17:15 -0500 )edit

Question Tools


Asked: 2013-03-13 22:33:14 -0500

Seen: 135 times

Last updated: Mar 14 '13