Go to the documentation of this file.
66 const std::string& iniSection);
86 void GetGain(
int& _gain,
int& channel);
92 bool SetGain(
int& new_gain,
int& channel);
void GetSoundLocation(int &ang)
This function return the angle where last sound where detected.
mrpt::comms::CInterfaceFTDI m_usbConnection
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,...
Contains classes for various device interfaces.
void Get3SoundBuffer(mrpt::math::CMatrixDynamic< int > &buf)
Debug only!!! This function return the last 500 acquired samples for each sound channel.
std::vector< int32_t > gain
mrpt::serialization::CMessage msg
A class that contain generic messages, that can be sent and received from a "CClientTCPSocket" object...
bool SetGain(int &new_gain, int &channel)
Set the gain for the amplifier each ear.
This class allows loading and storing values and vectors of different types from a configuration text...
A definition of a CStream actually representing a USB connection to a FTDI chip.
This "software driver" implements the communication protocol for interfacing a Robotic Head Board thr...
CRoboticHeadInterface()
Constructor.
void GetGain(int &_gain, int &channel)
Read the gain for the amplifier of the ear "channel", where channel is 0, 1 or 2.
Versatile class for consistent logging and management of output messages.
void SetHeadPose(int &yaw, int &pitch)
Move the head in:
void setDeviceSerialNumber(const std::string &deviceSerialNumber)
Changes the serial number of the device to open.
~CRoboticHeadInterface() override=default
Destructor.
std::string m_serialNumber
This template class provides the basic functionality for a general 2D any-size, resizable container o...
Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sun Jul 19 17:54:30 UTC 2020 | |