17 #include <QtCore/QThread> 18 #include <QtCore/QScopedPointer> 30 class HardwareAbstractionInterface;
35 class ColorSensorWorker;
51 Status status()
const override;
54 void init(
bool showOnDisplay)
override;
56 QVector<int> read(
int m,
int n)
override;
68 QScopedPointer<ColorSensorWorker> mColorSensorWorker;
71 QThread mWorkerThread;
Definition: analogSensor.h:23
static const int port
Definition: trikCommunicatorTest.cpp:24
Helper class to track device state (off, starting, ready, stopping, fail).
Definition: deviceState.h:26
Status
Device status.
Definition: deviceInterface.h:33
Definition: trikCommunicator.h:27
Uses virtual color sensor to detect dominant color in every cell of m * n grid of camera field of vie...
Definition: colorSensorInterface.h:27
Definition: brickFactory.h:21
Hardware abstraction, provides devices that are used to communicate with robot hardware or emulate it...
Definition: hardwareAbstractionInterface.h:29
Implementation of color sensor for real robot.
Definition: colorSensor.h:38