#include <world_canvas_client.hpp>
Protected Member Functions | |
template<typename T > | |
ros::ServiceClient | getServiceHandle (const std::string &service_name, double timeout=5.0) |
WorldCanvasClient (const std::string &srv_namespace="") | |
Protected Attributes | |
ros::NodeHandle | nh |
std::string | srv_namespace |
Base class for clients of the world canvas server.
Definition at line 19 of file world_canvas_client.hpp.
wcf::WorldCanvasClient::WorldCanvasClient | ( | const std::string & | srv_namespace = "" | ) | [inline, protected] |
Initializes the required stuff to interface with the world canvas server.
srv_namespace,: | World canvas handles can be found under this namespace. |
Definition at line 31 of file world_canvas_client.hpp.
ros::ServiceClient wcf::WorldCanvasClient::getServiceHandle | ( | const std::string & | service_name, |
double | timeout = 5.0 |
||
) | [inline, protected] |
Create a service client of the template type and wait until the service is available.
service_name,: | ROS service name to get, without namespace. |
timeout,: | Timeout to wait for the service to come up. |
ROS exception on timeout. |
Definition at line 47 of file world_canvas_client.hpp.
ros::NodeHandle wcf::WorldCanvasClient::nh [protected] |
Reimplemented in wcf::AnnotationCollection.
Definition at line 22 of file world_canvas_client.hpp.
std::string wcf::WorldCanvasClient::srv_namespace [protected] |
Definition at line 23 of file world_canvas_client.hpp.