Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
riq_hand_ethercat_hardware::RIQObjectStatus Struct Reference

#include <riq_hand_state.h>

List of all members.

Public Types

enum  { OBJECT_NOT_DETECTED = 0, OBJECT_DETECTED_1_FINGER = 1, OBJECT_DETECTED_2_FINGERS = 2, OBJECT_DETECTED_ALL_FINGERS = 3 }

Public Member Functions

union {
   uint8_t   raw_
__attribute__ ((__packed__))
const char * detectedString (bool in_scissors_mode=false) const

Static Public Member Functions

static const char * detectedString (unsigned detected, bool in_scissors_mode=false)
static const char * wasDetectedString (bool was_detected)

Public Attributes

enum
riq_hand_ethercat_hardware::RIQObjectStatus:: { ... }  
__attribute__
uint8_t detected_: 2
uint8_t left_finger_detected_: 1
uint8_t reserved_: 2
uint8_t right_finger_detected_: 1
uint8_t scissors_detected_: 1
uint8_t thumb_detected_: 1

Detailed Description

Definition at line 76 of file riq_hand_state.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
OBJECT_NOT_DETECTED 
OBJECT_DETECTED_1_FINGER 
OBJECT_DETECTED_2_FINGERS 
OBJECT_DETECTED_ALL_FINGERS 

Definition at line 90 of file riq_hand_state.h.


Member Function Documentation

union riq_hand_ethercat_hardware::RIQObjectStatus::@52 riq_hand_ethercat_hardware::RIQObjectStatus::__attribute__ ( (__packed__)  )
const char * riq_hand_ethercat_hardware::RIQObjectStatus::detectedString ( unsigned  detected,
bool  in_scissors_mode = false 
) [static]

Definition at line 59 of file riq_hand_state.cpp.

const char* riq_hand_ethercat_hardware::RIQObjectStatus::detectedString ( bool  in_scissors_mode = false) const [inline]

Definition at line 98 of file riq_hand_state.h.

const char * riq_hand_ethercat_hardware::RIQObjectStatus::wasDetectedString ( bool  was_detected) [static]

Definition at line 94 of file riq_hand_state.cpp.


Member Data Documentation

Definition at line 81 of file riq_hand_state.h.

Definition at line 84 of file riq_hand_state.h.

Definition at line 79 of file riq_hand_state.h.

Definition at line 86 of file riq_hand_state.h.

Definition at line 83 of file riq_hand_state.h.

Definition at line 85 of file riq_hand_state.h.

Definition at line 82 of file riq_hand_state.h.


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


riq_hand_ethercat_hardware
Author(s): Derek King
autogenerated on Tue Apr 22 2014 19:42:45