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 -0500
Seen: 934 times
Last updated: Feb 03 '15
ros1_bridge fails to generate service when custom message from the same package is used
how to generate documentation for msg/srv files using rosdoc
Ros message types and Object Oriented Programming
Using custom fields in a ROS service
ROS2 equivalents to ROS1 roscd, rosmsg rossrv...
Ways to monitor/investigate ROS Services at run-time [closed]
Name conflict between msg and srv