Go to the documentation of this file.
10 #ifndef CRoboticHeadInterface_H
11 #define CRoboticHeadInterface_H
63 const std::string &iniSection );
78 m_serialNumber = deviceSerialNumber;
A definition of a CStream actually representing a USB connection to a FTDI chip.
CRoboticHeadInterface()
Constructor.
This base class provides a common printf-like method to send debug information to std::cout,...
bool checkControllerIsConnected()
void loadConfig_sensorSpecific(const mrpt::utils::CConfigFileBase *configSource, const std::string &iniSection)
Loads specific configuration for the device from a given source of configuration parameters,...
This template class provides the basic functionality for a general 2D any-size, resizable container o...
void GetSoundLocation(int &ang)
This function return the angle where last sound where detected.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
bool SetGain(int &new_gain, int &channel)
Set the gain for the amplifier each ear.
~CRoboticHeadInterface()
Destructor.
std::vector< int32_t > gain
void GetGain(int &_gain, int &channel)
Read the gain for the amplifier of the ear "channel", where channel is 0, 1 or 2.
void Get3SoundBuffer(mrpt::math::CMatrixTemplate< int > &buf)
Debug only!!! This function return the last 500 acquired samples for each sound channel.
This class allows loading and storing values and vectors of different types from a configuration text...
A class that contain generic messages, that can be sent and received from a "CClientTCPSocket" object...
This "software driver" implements the communication protocol for interfacing a Robotic Head Board thr...
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.
CInterfaceFTDIMessages m_usbConnection
std::string m_serialNumber
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |