riq_hand_ethercat_hardware::RIQGripperStatus Struct Reference

#include <riq_hand_state.h>

List of all members.

Public Types

enum  { RESETTED = 0, INITALIAZATION_COMPLETE = 1 }
enum  { CYLINDRICAL_MODE = 0, PINCH_MODE = 1, SPHERIOD_MODE = 2, SCISSORS_MODE = 3 }
enum  { GRIP_STOPPED = 0, GRIP_OPENED = 1, GRIP_CLOSED = 2, GRIP_INITIALIZING_OR_CHANGING = 3 }
enum  { ACTION_FAULTED = 0, ACTION_IN_PROGRESS = 1, ACTION_ILLEGAL_UNDEFINED = 2, ACTION_SUCCESSFUL = 3 }

Public Member Functions

const char * gripString () const
bool inScissorsMode () const
const char * modeString () const
const char * statusString () const

Static Public Member Functions

static const char * gripString (unsigned grip)
static const char * modeString (unsigned mode)
static const char * statusString (unsigned status)

Public Attributes

union {
   struct {
      uint8_t   grip_: 2
      uint8_t   initialization_: 1
      uint8_t   mode_: 2
      uint8_t   reserved_: 1
      uint8_t   status_: 2
   }   __packed__
   uint8_t   raw_
__packed__

Detailed Description

Definition at line 44 of file riq_hand_state.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
RESETTED 
INITALIAZATION_COMPLETE 

Definition at line 57 of file riq_hand_state.h.

anonymous enum
Enumerator:
CYLINDRICAL_MODE 
PINCH_MODE 
SPHERIOD_MODE 
SCISSORS_MODE 

Definition at line 58 of file riq_hand_state.h.

anonymous enum
Enumerator:
GRIP_STOPPED 
GRIP_OPENED 
GRIP_CLOSED 
GRIP_INITIALIZING_OR_CHANGING 

Definition at line 59 of file riq_hand_state.h.

anonymous enum
Enumerator:
ACTION_FAULTED 
ACTION_IN_PROGRESS 
ACTION_ILLEGAL_UNDEFINED 
ACTION_SUCCESSFUL 

Definition at line 60 of file riq_hand_state.h.


Member Function Documentation

const char* riq_hand_ethercat_hardware::RIQGripperStatus::gripString (  )  const [inline]

Definition at line 69 of file riq_hand_state.h.

const char * riq_hand_ethercat_hardware::RIQGripperStatus::gripString ( unsigned  grip  )  [static]

Definition at line 24 of file riq_hand_state.cpp.

bool riq_hand_ethercat_hardware::RIQGripperStatus::inScissorsMode (  )  const [inline]

Definition at line 62 of file riq_hand_state.h.

const char* riq_hand_ethercat_hardware::RIQGripperStatus::modeString (  )  const [inline]

Definition at line 68 of file riq_hand_state.h.

const char * riq_hand_ethercat_hardware::RIQGripperStatus::modeString ( unsigned  mode  )  [static]

Definition at line 7 of file riq_hand_state.cpp.

const char* riq_hand_ethercat_hardware::RIQGripperStatus::statusString (  )  const [inline]

Definition at line 70 of file riq_hand_state.h.

const char * riq_hand_ethercat_hardware::RIQGripperStatus::statusString ( unsigned  status  )  [static]

Definition at line 41 of file riq_hand_state.cpp.


Member Data Documentation

Definition at line 51 of file riq_hand_state.h.

Definition at line 49 of file riq_hand_state.h.

Definition at line 50 of file riq_hand_state.h.

Definition at line 47 of file riq_hand_state.h.

Definition at line 53 of file riq_hand_state.h.

Definition at line 52 of file riq_hand_state.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerator


riq_hand_ethercat_hardware
Author(s): Derek King
autogenerated on Fri Jan 11 09:40:12 2013