Go to the documentation of this file.
16 #ifndef EPUCK_INTERFACE_HPP
17 #define EPUCK_INTERFACE_HPP
76 void SendRequest(
Request request)
const;
Receive the IR sensors readings.
Definition: epuckInterface.hpp:71
float x
x component.
Definition: epuckInterface.hpp:40
Send the state of all LEDs.
Definition: epuckInterface.hpp:73
Stop the motors.
Definition: epuckInterface.hpp:70
Base class for all concrete interfaces of e-puck.
Definition: epuckInterface.hpp:33
Send and receive messages from e-puck.
Definition: serialPort.hpp:40
const SerialPort *const serialPort
A SerialPort class instance shared among the device interfaces.
Definition: epuckInterface.hpp:59
float y
y component.
Definition: epuckInterface.hpp:41
static const float EPUCK_DIAMETER
Diameter of e-puck body [m].
Definition: epuckInterface.hpp:62
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
Send motors steps per second velocity.
Definition: epuckInterface.hpp:68
Send configurations for camera initialization.
Definition: epuckInterface.hpp:67
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:38
float theta
theta component.
Definition: epuckInterface.hpp:42
Request
Request codes acceptable by e-puck.
Definition: epuckInterface.hpp:65