ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Instead of using a publisher and subscriber you could use a service and client.
The camera input and processing would be in the service, and the client would request the coordinate whenever it needs it.
Here is a service/client tutorial for C++ or here is one for Python.