Go to the documentation of this file.
78 bool &outThereIsObservation,
80 bool &hardwareError );
113 const std::string &iniSection );
void loadConfig_sensorSpecific(const mrpt::utils::CConfigFileBase &configSource, const std::string &iniSection)
See the class documentation at the top for expected parameters.
This base class provides a common printf-like method to send debug information to std::cout,...
std::map< uint16_t, mrpt::math::TPose3D > m_IRPoses
The poses of the IR: x[m] y[m] z[m] yaw[deg] pitch[deg] roll[deg] Up to 6 devices,...
bool OnConnectionEstablished()
poses::CPoint3D m_sensorPose
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
CBoardIR(int BUFFER_LENGTH=13)
Constructor.
A parser of NMEA commands, for connecting to a GPS by a serial port.
float m_maxRange
The maximum range in meters (80cm).
This class allows loading and storing values and vectors of different types from a configuration text...
void getObservation(bool &outThereIsObservation, mrpt::obs::CObservationRange &outObservation, bool &hardwareError)
This method tries to get a set of range measurements from the IR sensors.
A communications serial port built as an implementation of a utils::CStream.
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
bool tryToOpenTheCOM()
Returns true if the COM port is already open, or try to open it in other case.
Declares a class derived from "CObservation" that encapsules a single range measurement,...
void doProcess()
This method will be invoked at a minimum rate of "process_rate" (Hz)
float m_minRange
The minimum range in meters (10cm).
std::string getSerialPortName() const
Get the serial port to use (COM1, ttyUSB0, etc).
virtual ~CBoardIR()
Destructor.
A class used to store a 3D point.
void setSerialPortName(const std::string &COM_port)
Set the serial port to use (COM1, ttyUSB0, etc).
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |