17 #include <QtCore/QThread> 18 #include <QtCore/QScopedPointer> 28 class HardwareAbstractionInterface;
33 class ObjectSensorWorker;
49 Status status()
const override;
52 void init(
bool showOnDisplay)
override;
54 void detect()
override;
56 QVector<int> read()
override;
60 QVector<int> getDetectParameters()
const override;
70 QScopedPointer<ObjectSensorWorker> mObjectSensorWorker;
73 QThread mWorkerThread;
Implementation of object sensor for real robot.
Definition: objectSensor.h:36
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
Definition: brickFactory.h:21
Uses virtual line sensor to detect x coordinate of a center of an object that was in camera's field o...
Definition: objectSensorInterface.h:28
Hardware abstraction, provides devices that are used to communicate with robot hardware or emulate it...
Definition: hardwareAbstractionInterface.h:29