iCub-main
|
Classes | |
class | dynContact |
class | dynContactList |
class | iCubSkin |
struct | Skin_2_Body |
struct | Skin_2_Link |
class | skinContact |
class | skinContactList |
class | skinPart |
class | skinPartBase |
class | Taxel |
Enumerations | |
enum | VerbosityLevel { NO_VERBOSE, VERBOSE, MORE_VERBOSE } |
enum | BodyPart { BODY_PART_UNKNOWN =0, TORSO, HEAD, LEFT_ARM, RIGHT_ARM, LEFT_LEG, RIGHT_LEG, BODY_PART_ALL, LOWER_BODY_PARTS, UPPER_BODY_PARTS, BODY_PART_SIZE } |
enum | SkinPart { SKIN_PART_UNKNOWN =0, SKIN_LEFT_HAND, SKIN_LEFT_FOREARM, SKIN_LEFT_UPPER_ARM, SKIN_RIGHT_HAND, SKIN_RIGHT_FOREARM, SKIN_RIGHT_UPPER_ARM, SKIN_FRONT_TORSO, LEFT_LEG_UPPER, LEFT_LEG_LOWER, LEFT_FOOT, RIGHT_LEG_UPPER, RIGHT_LEG_LOWER, RIGHT_FOOT, SKIN_PART_ALL, SKIN_PART_SIZE } |
enum | HandPart { INDEX, MIDDLE, RING, LITTLE, THUMB, PALM, ALL_HAND_PARTS, HAND_PART_SIZE } |
Functions | |
BodyPart | getBodyPart (SkinPart s) |
std::vector< SkinPart > | getSkinParts (BodyPart b) |
int | getLinkNum (SkinPart s) |
SkinPart | getSkinPartFromString (const std::string skinPartString) |
yarp::sig::Vector | toVector (yarp::sig::Matrix m) |
yarp::sig::Vector | vectorFromBottle (const yarp::os::Bottle b, int in, const int size) |
void | vectorIntoBottle (const yarp::sig::Vector v, yarp::os::Bottle &b) |
Puts a Vector into a bottle, by cycling through its elements and adding them as doubles. More... | |
yarp::sig::Matrix | matrixFromBottle (const yarp::os::Bottle b, int in, const int r, const int c) |
Retrieves a matrix from a bottle. More... | |
void | matrixIntoBottle (const yarp::sig::Matrix m, yarp::os::Bottle &b) |
Puts a matrix into a bottle, by cycling through its elements and adding them as double. More... | |
std::list< unsigned int > | vectorofIntEqualto (const std::vector< int > vec, const int val) |
Variables | |
const std::string | BodyPart_s [] |
const std::string | SkinPart_s [] |
const Skin_2_Body | SkinPart_2_BodyPart [SKIN_PART_SIZE] |
const Skin_2_Link | SkinPart_2_LinkNum [SKIN_PART_SIZE] |
const std::string | HandPart_s [] |
static const int | ARM_FT_SENSOR_LINK_INDEX = 2 |
static const int | LEG_FT_SENSOR_LINK_INDEX = 1 |
static const int | ARM_DOF = 7 |
static const int | TORSO_DOF = 3 |
yarp::sig::Matrix iCub::skinDynLib::matrixFromBottle | ( | const yarp::os::Bottle | b, |
int | in, | ||
const int | r, | ||
const int | c | ||
) |
Retrieves a matrix from a bottle.
b | the bottle |
in | the start index |
r | the number of rows of the matrix |
c | the number of cols of the matrix return the matrix extracted from the bottle |
Definition at line 109 of file common.cpp.
void iCub::skinDynLib::matrixIntoBottle | ( | const yarp::sig::Matrix | m, |
yarp::os::Bottle & | b | ||
) |
Puts a matrix into a bottle, by cycling through its elements and adding them as double.
m | the matrix to put into the bottle |
b | the bottle to be filled with the vector |
Definition at line 126 of file common.cpp.
void iCub::skinDynLib::vectorIntoBottle | ( | const yarp::sig::Vector | v, |
yarp::os::Bottle & | b | ||
) |
Puts a Vector into a bottle, by cycling through its elements and adding them as doubles.
v | the vector to put into the bottle |
b | the bottle to be filled with the vector |
Definition at line 101 of file common.cpp.
|
static |
const std::string iCub::skinDynLib::BodyPart_s[] |
const std::string iCub::skinDynLib::HandPart_s[] |
|
static |
const Skin_2_Body iCub::skinDynLib::SkinPart_2_BodyPart[SKIN_PART_SIZE] |
const Skin_2_Link iCub::skinDynLib::SkinPart_2_LinkNum[SKIN_PART_SIZE] |
const std::string iCub::skinDynLib::SkinPart_s[] |