22 CRoboticHeadInterface::CRoboticHeadInterface()
    67             "ERROR LEYENDO LA GANANCIA DEL AMPLIFICADOR DE LA OREJA \n");
   113     for (
size_t k = 0; k < 3; k++)  
   115         for (
size_t j = 0; j < 500 / 100; j++)  
   119             for (
size_t i = 0; i < 100; i++)  
   120                 buf(k, 100 * j + i) =
 void Get3SoundBuffer(mrpt::math::CMatrixTemplate< int > &buf)
Debug only!!! This function return the last 500 acquired samples for each sound channel. 
 
bool SetGain(int &new_gain, int &channel)
Set the gain for the amplifier each ear. 
 
std::string read_string(const std::string §ion, const std::string &name, const std::string &defaultValue, bool failIfNotFound=false) const
 
#define THROW_EXCEPTION(msg)
 
uint32_t type
An identifier of the message type (only the least-sig byte is typically sent) 
 
Contains classes for various device interfaces. 
 
void GetGain(int &_gain, int &channel)
Read the gain for the amplifier of the ear "channel", where channel is 0, 1 or 2. ...
 
mrpt::system::COutputLogger COutputLogger
 
int read_int(const std::string §ion, const std::string &name, int defaultValue, bool failIfNotFound=false) const
 
CArchiveStreamBase< STREAM > archiveFrom(STREAM &s)
Helper function to create a templatized wrapper CArchive object for a: MRPT's CStream, std::istream, std::ostream, std::stringstream 
 
This class allows loading and storing values and vectors of different types from a configuration text...
 
This base provides a set of functions for maths stuff. 
 
std::string m_serialNumber
 
GLsizei const GLchar ** string
 
This template class provides the basic functionality for a general 2D any-size, resizable container o...
 
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. 
 
void GetSoundLocation(int &ang)
This function return the angle where last sound where detected. 
 
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase *configSource, const std::string &iniSection)
Loads specific configuration for the device from a given source of configuration parameters, for example, an ".ini" file, loading from the section "[iniSection]" (see config::CConfigFileBase and derived classes) See hwdrivers::CSonarSRF10 for the possible parameters. 
 
mrpt::comms::CInterfaceFTDI m_usbConnection
 
void setSize(size_t row, size_t col, bool zeroNewElements=false)
Changes the size of matrix, maintaining the previous contents. 
 
std::vector< uint8_t > content
The contents of the message (memory is automatically handled by the std::vector object) ...
 
std::vector< int32_t > gain
 
void read_vector(const std::string §ion, const std::string &name, const VECTOR_TYPE &defaultValue, VECTOR_TYPE &outValues, bool failIfNotFound=false) const
Reads a configuration parameter of type vector, stored in the file as a string: "[v1 v2 v3 ...
 
mrpt::serialization::CMessage msg