iCub-main
|
Classes | |
class | iCub::skinDynLib::dynContact |
class | iCub::skinDynLib::dynContactList |
class | iCub::skinDynLib::iCubSkin |
class | iCub::skinDynLib::skinContact |
class | iCub::skinDynLib::skinContactList |
class | iCub::skinDynLib::skinPart |
class | iCub::skinDynLib::Taxel |
Functions | |
BodyPart | iCub::skinDynLib::getBodyPart (SkinPart s) |
std::vector< SkinPart > | iCub::skinDynLib::getSkinParts (BodyPart b) |
int | iCub::skinDynLib::getLinkNum (SkinPart s) |
SkinPart | iCub::skinDynLib::getSkinPartFromString (const std::string skinPartString) |
yarp::sig::Vector | iCub::skinDynLib::toVector (yarp::sig::Matrix m) |
yarp::sig::Vector | iCub::skinDynLib::vectorFromBottle (const yarp::os::Bottle b, int in, const int size) |
std::list< unsigned int > | iCub::skinDynLib::vectorofIntEqualto (const std::vector< int > vec, const int 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 |