epuckCamera.hpp
Go to the documentation of this file.
Definition epuckCamera.hpp:48
Definition epuckCamera.hpp:64
Definition epuckCamera.hpp:57
void Initialize()
Send the configurations givens in EpuckCamera constructor to e-puck.
Definition epuckCamera.cpp:135
void GetImage(unsigned char *const ptrImage)
Get a new image from e-puck.
Definition epuckCamera.cpp:203
EpuckCamera(const SerialPort *const serialPort, unsigned sensor_x1, unsigned sensor_y1, unsigned sensor_width, unsigned sensor_height, unsigned zoom_fact_width, unsigned zoom_fact_height, ColorModes color_mode)
The EpuckCamera class constructor.
Definition epuckCamera.cpp:43
ColorModes
Possible color modes for e-puck camera.
Definition epuckCamera.hpp:81
@ GREY_SCALE_MODE
Grey color mode, with 8 bits per pixel.
Definition epuckCamera.hpp:82
@ RGB_565_MODE
RGB color mode, with 16 bits per pixel.
Definition epuckCamera.hpp:83
void GetCameraData(unsigned &imageWidth, unsigned &imageHeight, EpuckCamera::ColorModes &colorMode) const
Get the relevant configurations camera data.
Definition epuckCamera.cpp:194
std::string GetCameraVersion() const
Get the version of camera in e-puck.
Definition epuckCamera.cpp:174
const SerialPort *const serialPort
A SerialPort class instance shared among the device interfaces.
Definition epuckInterface.hpp:59
Header file of the EpuckInterface class and the struct EpuckInterface::Triple.