$search
#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 | |
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__ |
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.
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.
union { ... } riq_hand_ethercat_hardware::RIQObjectStatus::__packed__ |
struct { ... } riq_hand_ethercat_hardware::RIQObjectStatus::__packed__ |
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.