ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This other package has to depend on the package that contains the srv file. (build and run depend in your CMakeLists.txt)
Then you include the service in the source file where you need it.
Everything is well explained in the tutorials.