ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
If you add a prefix to your node handler (nh
in your example), that prefix should be used on the service.
ros::NodeHandle nh("webcam");
If that doesn't work, you can always launch the node in a non-global namespace. Have a look at this question.