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

Using service to communicate between nodes in different package

asked 2011-07-07 03:21:46 -0600

roboren gravatar image

Hi all, The tutorial gives an example of communication between nodes in the same package. Is it possible to use service to communicate between nodes in different package? Does that mean I should load two manifests?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2011-07-07 03:43:01 -0600

dornhege gravatar image

updated 2011-07-07 03:44:35 -0600

Yes, it is definitely possible.

You just define the service in any package (e.g. package A) and make package A a dependency for the packages using the service. Of course, a package can use its own service, too.

This question is the same in principle (just for messages):

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-07-07 03:21:46 -0600

Seen: 1,983 times

Last updated: Jul 07 '11