A struct to encapsulate the state of the gripper. More...
#include <gripper_model.h>
Public Types | |
enum | State { VALID = 0, NO_OBJECT = 1, COLLIDE_L = 2, COLLIDE_R = 3, COLLIDE_PALM = 4 } |
Public Member Functions | |
GraspState () | |
bool | inCollision () |
void | reset () |
void | set (State state) |
Public Attributes | |
bool | collide_l |
bool | collide_palm |
bool | collide_r |
bool | no_object |
bool | valid |
A struct to encapsulate the state of the gripper.
This description is displayed lower in the doxygen as an extended description along with the above brief description.
Definition at line 44 of file gripper_model.h.
enum GraspState::State |
Definition at line 46 of file gripper_model.h.
GraspState::GraspState | ( | ) | [inline] |
Definition at line 54 of file gripper_model.h.
bool GraspState::inCollision | ( | ) | [inline] |
Definition at line 83 of file gripper_model.h.
void GraspState::reset | ( | ) | [inline] |
Definition at line 56 of file gripper_model.h.
void GraspState::set | ( | State | state | ) | [inline] |
Definition at line 61 of file gripper_model.h.
Definition at line 87 of file gripper_model.h.
Definition at line 87 of file gripper_model.h.
Definition at line 87 of file gripper_model.h.
Definition at line 87 of file gripper_model.h.
bool GraspState::valid |
Definition at line 87 of file gripper_model.h.