1 #ifndef _RAPID_PR2_GRIPPER_H_
2 #define _RAPID_PR2_GRIPPER_H_
4 #include "actionlib/client/simple_action_client.h"
5 #include "boost/shared_ptr.hpp"
6 #include "pr2_controllers_msgs/Pr2GripperCommandAction.h"
12 "/r_gripper_controller/gripper_action";
58 boost::shared_ptr<actionlib::SimpleActionClient<
59 pr2_controllers_msgs::Pr2GripperCommandAction> >
65 #endif // _RAPID_PR2_GRIPPER_H_
static Gripper Left()
Returns a Gripper object for the PR2's left gripper.
void Cancel()
Stops the gripper's opening or closing movement.
static const char kLeftGripperAction[]
static const char kRightGripperAction[]
bool StartOpening()
Starts opening the gripper.
bool IsDone() const
Returns true if the gripper is done opening or closing.
static Gripper Right()
Returns a Gripper object for the PR2's right gripper.
bool StartClosing()
Starts closing the gripper.
High-level interface for a PR2's gripper.