$search

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

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

union {
   struct {
      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
   }   __packed__
   uint8_t   raw_
__packed__

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

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::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::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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


riq_hand_ethercat_hardware
Author(s): Derek King
autogenerated on Sat Mar 2 13:13:23 2013