epuckIR.hpp
Go to the documentation of this file.
const SerialPort *const serialPort
A SerialPort class instance shared among the device interfaces.
Definition: epuckInterface.hpp:59
EpuckIR(const SerialPort *const serialPort)
The EpuckIR class constructor.
Definition: epuckIR.cpp:18
std::vector< float > ranges
The equivalent obstacle distance.
Definition: epuckIR.hpp:42
std::vector< EpuckInterface::Triple > GetGeometry() const
Give the geometry of each IR sensor in e-puck.
Definition: epuckIR.hpp:66
static const unsigned SENSOR_QUANTITY
The number of IR sensors on e-puck.
Definition: epuckIR.hpp:36
Header file of the EpuckInterface class and the struct EpuckInterface::Triple.
std::vector< float > voltages
The raw IR readings.
Definition: epuckIR.hpp:41