APM:Libraries
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | List of all members
AP_Gripper Class Reference

#include <AP_Gripper.h>

Collaboration diagram for AP_Gripper:
[legend]

Classes

struct  Backend_Config
 

Public Types

enum  gripper_state { STATE_GRABBING, STATE_RELEASING, STATE_GRABBED, STATE_RELEASED }
 

Public Member Functions

 AP_Gripper ()
 
bool enabled () const
 
void init ()
 
void grab ()
 
void release ()
 
bool released () const
 
bool grabbed () const
 
void update ()
 
bool valid () const
 

Public Attributes

AP_Int8 _enabled
 
struct AP_Gripper::Backend_Config config
 

Static Public Attributes

static const struct AP_Param::GroupInfo var_info []
 

Private Attributes

AP_Gripper_Backendbackend
 

Detailed Description

Definition at line 22 of file AP_Gripper.h.

Member Enumeration Documentation

◆ gripper_state

Enumerator
STATE_GRABBING 
STATE_RELEASING 
STATE_GRABBED 
STATE_RELEASED 

Definition at line 55 of file AP_Gripper.h.

Constructor & Destructor Documentation

◆ AP_Gripper()

AP_Gripper::AP_Gripper ( )

Definition at line 71 of file AP_Gripper.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ enabled()

bool AP_Gripper::enabled ( void  ) const
inline

Definition at line 27 of file AP_Gripper.h.

Here is the call graph for this function:

◆ grab()

void AP_Gripper::grab ( )

Referenced by enabled(), and init().

Here is the caller graph for this function:

◆ grabbed()

bool AP_Gripper::grabbed ( ) const

Referenced by enabled().

Here is the caller graph for this function:

◆ init()

void AP_Gripper::init ( void  )

Definition at line 76 of file AP_Gripper.cpp.

Referenced by enabled().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ release()

void AP_Gripper::release ( )

Referenced by enabled(), and init().

Here is the caller graph for this function:

◆ released()

bool AP_Gripper::released ( ) const

Referenced by enabled().

Here is the caller graph for this function:

◆ update()

void AP_Gripper::update ( )

Referenced by enabled(), and init().

Here is the caller graph for this function:

◆ valid()

bool AP_Gripper::valid ( ) const

Referenced by enabled().

Here is the caller graph for this function:

Member Data Documentation

◆ _enabled

AP_Int8 AP_Gripper::_enabled

Definition at line 53 of file AP_Gripper.h.

Referenced by enabled(), and init().

◆ backend

AP_Gripper_Backend* AP_Gripper::backend
private

Definition at line 75 of file AP_Gripper.h.

Referenced by init().

◆ config

struct AP_Gripper::Backend_Config AP_Gripper::config

Referenced by init().

◆ var_info

const AP_Param::GroupInfo AP_Gripper::var_info
static

Definition at line 50 of file AP_Gripper.h.

Referenced by AP_Gripper().


The documentation for this class was generated from the following files: