ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You have misunderstood the requirement. The client-side does not need access to the server-side c or python source code, but it does need access to the message definition files generated from the .srv
file. Those message definitions are what is in the '.h` file in the example documentation.
These message definitions are often created in a different ros package from the server-side node, precisely because this ros package needs to be installed on both client- and server-side hosts.