Public Member Functions | Private Attributes
pr2_wrappers::PlugsClient Class Reference

#include <plugs_client.h>

List of all members.

Public Member Functions

void cancel ()
bool plug_unplug (bool plug, bool wait=false)
 PlugsClient (ros::NodeHandle &nh, const ros::Duration &timeout)
 Initialization.
 ~PlugsClient ()

Private Attributes

ros::NodeHandle nh_
 The node handle we'll be using.
actionlib::SimpleActionClient
< pr2_plugs_msgs::RechargeAction > 
plugs_action_client_
 A actionlib client to the move_base action server.
ros::Duration timeout_
 The timeout duration for the plug action.

Detailed Description

Definition at line 47 of file plugs_client.h.


Constructor & Destructor Documentation

Initialization.

Definition at line 36 of file plugs_client.cpp.

Definition at line 42 of file plugs_client.cpp.


Member Function Documentation

Definition at line 72 of file plugs_client.h.

bool pr2_wrappers::PlugsClient::plug_unplug ( bool  plug,
bool  wait = false 
)

Calls the recharge action

Parameters:
plugif true, plug in. If false, unplug
waitif true, blocks until the end of the action

Definition at line 45 of file plugs_client.cpp.


Member Data Documentation

The node handle we'll be using.

Definition at line 51 of file plugs_client.h.

A actionlib client to the move_base action server.

Definition at line 57 of file plugs_client.h.

The timeout duration for the plug action.

Definition at line 54 of file plugs_client.h.


The documentation for this class was generated from the following files:


pr2_wrappers
Author(s): Adam Leeper
autogenerated on Mon Oct 6 2014 12:08:38