epuckIR.hpp
int recvInt() const
Receive a signed interger from e-puck.
Definition: serialPort.cpp:96
@ GET_IR_PROX
Receive the IR sensors readings.
Definition: epuckInterface.hpp:71
EpuckIR(const SerialPort *const serialPort)
The EpuckIR class constructor.
Definition: epuckIR.cpp:18
std::vector< float > voltages
The raw IR readings.
Definition: epuckIR.hpp:41
const SerialPort *const serialPort
A SerialPort class instance shared among the device interfaces.
Definition: epuckInterface.hpp:59
std::vector< float > ranges
The equivalent obstacle distance.
Definition: epuckIR.hpp:42
static const unsigned SENSOR_QUANTITY
The number of IR sensors on e-puck.
Definition: epuckIR.hpp:36
Struct which represents a triple (x,y,theta).
Definition: epuckInterface.hpp:39
std::vector< EpuckInterface::Triple > GetGeometry() const
Give the geometry of each IR sensor in e-puck.
Definition: epuckIR.hpp:66