|The gripper's state. |
|The position of the object in the gripper. |
|Number of currently stored objects. |
Data: state (PLAYER_GRIPPER_DATA_STATE)
gripper interface returns the current state of the gripper and information on a potential object in the gripper. state may be PLAYER_GRIPPER_STATE_OPEN, PLAYER_GRIPPER_STATE_CLOSED, PLAYER_GRIPPER_STAGE_MOVING or PLAYER_GRIPPER_STATE_ERROR. beams provides information on how far into the gripper an object is. For most grippers, this will be a bit mask, with each bit representing whether a beam has been interrupted or not.
The documentation for this struct was generated from the following file: