This class describe the gripper and the possible actions of the Gripper from the robot. More...
#include <gripper.h>
Public Member Functions | |
void | close_gripper (char lr) |
Close the gripper which is choose by the parameter. | |
Gripper () | |
void | open_gripper (char lr) |
Open the gripper which is choose by the parameter. | |
~Gripper () | |
Private Attributes | |
GripperClient * | gripper_client_left |
GripperClient * | gripper_client_right |
This class describe the gripper and the possible actions of the Gripper from the robot.
The possible actions of the gripper are open and close Via the parameter we are able to decide which gripper should be open, left or right.
Gripper::Gripper | ( | ) |
Definition at line 20 of file gripper.cpp.
Definition at line 35 of file gripper.cpp.
void Gripper::close_gripper | ( | char | lr | ) |
Close the gripper which is choose by the parameter.
Definition at line 66 of file gripper.cpp.
void Gripper::open_gripper | ( | char | lr | ) |
Open the gripper which is choose by the parameter.
Definition at line 41 of file gripper.cpp.
GripperClient* Gripper::gripper_client_left [private] |
GripperClient* Gripper::gripper_client_right [private] |