epuckInterface.hpp
@ GET_IR_PROX
Receive the IR sensors readings.
Definition: epuckInterface.hpp:71
@ SET_LED_POWER
Send the state of all LEDs.
Definition: epuckInterface.hpp:73
const SerialPort *const serialPort
A SerialPort class instance shared among the device interfaces.
Definition: epuckInterface.hpp:59
static const float EPUCK_DIAMETER
Diameter of e-puck body [m].
Definition: epuckInterface.hpp:62
@ GET_STEPS
Receive the steps made and reset the stepp counter.
Definition: epuckInterface.hpp:69
EpuckInterface(const SerialPort *const serialPort)
The EpuckInterface class constructor.
Definition: epuckInterface.cpp:20
@ SET_VEL
Send motors steps per second velocity.
Definition: epuckInterface.hpp:68
@ CONFIG_CAMERA
Send configurations for camera initialization.
Definition: epuckInterface.hpp:67
@ GET_CAMERA_IMG
Receive an image from camera.
Definition: epuckInterface.hpp:72
void sendChar(char message) const
Send a character to e-puck.
Definition: serialPort.cpp:184
Struct which represents a triple (x,y,theta).
Definition: epuckInterface.hpp:39