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: 929 times
Last updated: Feb 03 '15
Ros2 Foxy Python custom SRV type error
service has not been advertised
Ways to monitor/investigate ROS Services at run-time
ros1_bridge fails to generate service when custom message from the same package is used
Error when trying to import a crv file in a python file - [catkin project]
Undefined reference for string constant in service
Embed request fields from another .srv files into my .srv