Go to the source code of this file.
◆ extract_short
#define extract_short |
( |
|
array, |
|
|
|
index |
|
) |
| ( (unsigned short)array[index] | ( (unsigned short)array[index + 1] << 8 ) ) |
◆ TAC_CHECK_RES
#define TAC_CHECK_RES |
( |
|
res, |
|
|
|
expected, |
|
|
|
resp |
|
) |
| |
Value: { \
if ( res < expected ) { \
dbgPrint( "Response length is too short, should be = %d (is %d)\n", expected, res ); \
if ( res > 0 ) free( resp ); \
return -1; \
} \
{ \
free( resp ); \
return -1; \
} \
}
Definition at line 29 of file TactileSensor.h.
◆ operator<<()
std::ostream& operator<< |
( |
std::ostream & |
strm, |
|
|
const TactileSensor & |
a |
|
) |
| |