iCub-main
|
A class that provides a mesaure of contact detection for each finger relying on tactile sensors. More...
#include <tactileFingers.h>
Public Member Functions | |
TactileFingersModel () | |
Constructor. | |
bool | fromProperty (const yarp::os::Property &options) |
Configure the model taking its parameters from a Property object. | |
void | toProperty (yarp::os::Property &options) const |
Return a Property representation of all the model parameters. | |
bool | toStream (std::ostream &str) const |
Similar to the toProperty() method but it operates on output streams (e.g. | |
bool | calibrate (const yarp::os::Property &options) |
Not available. | |
bool | isCalibrated () const |
Not available. | |
bool | getOutput (yarp::os::Value &out) const |
Retrieve the complete output of the model. | |
virtual | ~TactileFingersModel () |
Destructor. | |
Public Member Functions inherited from iCub::perception::Model | |
Model () | |
Constructor. | |
std::string | getName () const |
Retrieve the model name. | |
void | attachNode (Node &node) |
Attach a node object to the model. | |
Node * | getNode (const std::string &name) const |
Retrieve an attached node by its name. | |
virtual | ~Model () |
Destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from iCub::perception::Model | |
virtual void | printMessage (const int logtype, const int level, const char *format,...) const |
Protected Attributes inherited from iCub::perception::Model | |
std::string | name |
int | verbosity |
std::map< std::string, Node * > | nodes |
A class that provides a mesaure of contact detection for each finger relying on tactile sensors.
Definition at line 151 of file tactileFingers.h.
TactileFingersModel::TactileFingersModel | ( | ) |
Constructor.
Definition at line 168 of file tactileFingers.cpp.
|
virtual |
Destructor.
Definition at line 407 of file tactileFingers.cpp.
|
virtual |
Not available.
Implements iCub::perception::Model.
Definition at line 350 of file tactileFingers.cpp.
|
virtual |
Configure the model taking its parameters from a Property object.
options | a Property containing the configuration parameters. Available options are: name: the name of the model. type: the handedness type; it can be either "left" or "right". robot: the name of the robot to connect to; e.g. "icub" or "icubSim". carrier: the protocol used to connect yarp streaming ports; e.g. "udp", "mcast", "tcp". compensation: it can be "true" or "false" and indicates which ports to connect to for data acquisition. When false it collects the raw data, when true it connects to the compensated ports. verbosity: an integer that accounts for the verbosity level of model print-outs. |
Implements iCub::perception::Model.
Definition at line 176 of file tactileFingers.cpp.
|
virtual |
Retrieve the complete output of the model.
out | a Value containing the model output in the form: (thumb_out index_out ... little_out), where the finger_out is the output of the corresponding finger. |
Implements iCub::perception::Model.
Definition at line 366 of file tactileFingers.cpp.
|
virtual |
Not available.
Implements iCub::perception::Model.
Definition at line 358 of file tactileFingers.cpp.
|
virtual |
Return a Property representation of all the model parameters.
options | a Property filled with the configuration parameters. |
Implements iCub::perception::Model.
Definition at line 268 of file tactileFingers.cpp.
|
virtual |
Similar to the toProperty() method but it operates on output streams (e.g.
string, ofstream, ...). It allows to better manage the storing of the configuration over files.
str | the reference to the output stream. |
Implements iCub::perception::Model.
Definition at line 312 of file tactileFingers.cpp.