how to use srv in another package?
hi. i want to use the srv file that i have created in some package and use it ( include it ) in another package , what should i do ? thanks.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
hi. i want to use the srv file that i have created in some package and use it ( include it ) in another package , what should i do ? thanks.
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.
Asked: 2015-02-03 04:14:49 -0600
Seen: 995 times
Last updated: Feb 03 '15
Is it possible to change "msg" and "srv" folder position in a package ?
How to know service/topic detail information from remote
how to generate documentation for msg/srv files using rosdoc
How to receive and array of floats over a user defined message type ?
Who is allowed to fix bugs in ros_comm (and other WG) stacks?
Creating own service (not copying from some other package)
Undefined reference for string constant in service
How to call a service .srv from Terminal [closed]
How to use rosservice call with correct parameter form?
Exporting Python Module With Same Name as Package, with srv/msg