17 #include <QtCore/QThread> 18 #include <QtCore/QScopedPointer> 28 class HardwareAbstractionInterface;
33 class SoundSensorWorker;
49 Status status()
const override;
52 void init(
bool showOnDisplay)
override;
54 void detect()
override;
56 void volume(
int volCoeff)
override;
58 QVector<int> read()
override;
67 QScopedPointer<SoundSensorWorker> mSoundSensorWorker;
70 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
Implementation of sound sensor for real robot.
Definition: soundSensor.h:36
Status
Device status.
Definition: deviceInterface.h:33
Definition: trikCommunicator.h:27
Definition: brickFactory.h:21
Uses virtual sound sensor to detect angle of sound source.
Definition: soundSensorInterface.h:27
Hardware abstraction, provides devices that are used to communicate with robot hardware or emulate it...
Definition: hardwareAbstractionInterface.h:29