#include "rec/robotino/com/c/globals.h"
#include "rec/robotino/com/c/Com.h"
Go to the source code of this file.
Defines | |
| #define | INVALID_GRIPPERID -1 |
Typedefs | |
| typedef int | GripperId |
Functions | |
| DLLEXPORT GripperId | Gripper_construct () |
| DLLEXPORT BOOL | Gripper_destroy (GripperId id) |
| DLLEXPORT BOOL | Gripper_setComId (GripperId id, ComId comId) |
| DLLEXPORT BOOL | Gripper_open (GripperId id) |
| DLLEXPORT BOOL | Gripper_close (GripperId id) |
| DLLEXPORT BOOL | Gripper_isOpened (GripperId id) |
| DLLEXPORT BOOL | Gripper_isClosed (GripperId id) |
Use Gripper_construct() to create a new gripper object. Associate the gripper object with a com object using Gripper_setComId(). Use Gripper_open() to open the gripper. Use Gripper_close() to open the gripper. Use Gripper_isOpened() to check if the gripper is opened. Use Gripper_isClosed() to check if the gripper is closed.
| DLLEXPORT BOOL Gripper_close | ( | GripperId | id | ) |
Close gripper.
| DLLEXPORT GripperId Gripper_construct | ( | ) |
Construct an gripper object
| DLLEXPORT BOOL Gripper_destroy | ( | GripperId | id | ) |
Destroy the gripper object assigned to id
| id | The id of the gripper object to be destroyed |
| DLLEXPORT BOOL Gripper_isClosed | ( | GripperId | id | ) |
| DLLEXPORT BOOL Gripper_isOpened | ( | GripperId | id | ) |
| DLLEXPORT BOOL Gripper_open | ( | GripperId | id | ) |
Open gripper.
| DLLEXPORT BOOL Gripper_setComId | ( | GripperId | id, | |
| ComId | comId | |||
| ) |
Associated a gripper object with a communication interface, i.e. binding the gripper to a specific Robotino
1.5.5