iCub-main
|
Class representing a contact on the tactile sensor system (skin) of iCub. More...
Classes | |
class | iCub::skinDynLib::dynContact |
Class representing an external contact acting on a link of the robot body. More... | |
class | iCub::skinDynLib::dynContactList |
Class representing a list of external contacts. More... | |
class | iCub::skinDynLib::iCubSkin |
Class that collects a set of skinParts. More... | |
class | iCub::skinDynLib::skinContact |
Class representing an external contact acting on the iCub' skin. More... | |
class | iCub::skinDynLib::skinContactList |
Class representing a list of external contacts acting on the iCub' skin. More... | |
class | iCub::skinDynLib::skinPart |
Class that encloses everything relate to a skinPart. More... | |
class | iCub::skinDynLib::Taxel |
Class that encloses everything relate to a Taxel, i.e. More... | |
Functions | |
BodyPart | iCub::skinDynLib::getBodyPart (SkinPart s) |
Get the body part associated to the specified skin part. | |
std::vector< SkinPart > | iCub::skinDynLib::getSkinParts (BodyPart b) |
Get the list of skin parts associated to the specified body part. | |
int | iCub::skinDynLib::getLinkNum (SkinPart s) |
Get the link number associated to the specified skin part. | |
SkinPart | iCub::skinDynLib::getSkinPartFromString (const std::string skinPartString) |
Get the SkinPart enum from the string version - essentially the opposite of SkinPart_s[]. | |
yarp::sig::Vector | iCub::skinDynLib::toVector (yarp::sig::Matrix m) |
Converts a yarp::sig::Matrix to a yarp::sig::Vector. | |
yarp::sig::Vector | iCub::skinDynLib::vectorFromBottle (const yarp::os::Bottle b, int in, const int size) |
Retrieves a vector from a bottle. | |
std::list< unsigned int > | iCub::skinDynLib::vectorofIntEqualto (const std::vector< int > vec, const int val) |
Returns a list of indexes corresponding to the values of vec that are equal to val. | |
Class representing a contact on the tactile sensor system (skin) of iCub.
Windows, Linux
Copyright (C) 2010 RobotCub Consortium CopyPolicy: Released under the terms of the GNU GPL v2.0.
Get the body part associated to the specified skin part.
s | the interested skin part |
Definition at line 26 of file common.cpp.
int iCub::skinDynLib::getLinkNum | ( | SkinPart | s | ) |
Get the link number associated to the specified skin part.
s | the interested skin part |
Definition at line 34 of file common.cpp.
SkinPart iCub::skinDynLib::getSkinPartFromString | ( | const std::string | skinPartString | ) |
Get the SkinPart enum from the string version - essentially the opposite of SkinPart_s[].
skinPartString | the string of the skin part |
Definition at line 42 of file common.cpp.
Get the list of skin parts associated to the specified body part.
b | the interested body part |
Definition at line 17 of file common.cpp.
yarp::sig::Vector iCub::skinDynLib::toVector | ( | yarp::sig::Matrix | m | ) |
Converts a yarp::sig::Matrix to a yarp::sig::Vector.
m | the matrix to convert |
Definition at line 77 of file common.cpp.
yarp::sig::Vector iCub::skinDynLib::vectorFromBottle | ( | const yarp::os::Bottle | b, |
int | in, | ||
const int | size | ||
) |
Retrieves a vector from a bottle.
b | the bottle to read the vector from |
in | the start index |
size | the size of the vector (obviously, this have to hold: b.size()>in+size ) |
Definition at line 89 of file common.cpp.
|
inline |