#include <riq_hand_state.h>
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 |
Definition at line 76 of file riq_hand_state.h.
anonymous enum |
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.
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.
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.