Smart Minotaur
 Alle Klassen Dateien Funktionen Variablen Seiten
minotaur::SensorThread Klassenreferenz

Runs the sensor processing logic of the robot. Mehr ...

#include <SensorThread.hpp>

Klassendiagramm für minotaur::SensorThread:
minotaur::Thread minotaur::Thread

Öffentliche Methoden

void init (RobotOdometry *p_odom, BlockingQueue< SensorMeasurement > *p_queue)
void run ()
 The content of this method is executed in the thread.
 SensorThread (SensorCommunicator &p_sensorCommunicator)
void run ()
 Control-loop until onStop() is called.
void setSamplingInterval (const int p_samplingIntervalMsec)
int getSamplingInterval ()
- Öffentliche Methoden geerbt von minotaur::Thread
void start ()
void stop ()
void join ()

Geschützte Methoden

void onStop ()
 This method is called when stop() is called.
void onStart ()
 This method is called before the thread is started (call of start()).
void onStart ()
 This method is called before the thread is started (call of start()).
void onStop ()
 This method is called when stop() is called.

Ausführliche Beschreibung

Runs the sensor processing logic of the robot.

Creates a Thread to get sensorvalues from the brick.

Dokumentation der Elementfunktionen

void minotaur::SensorThread::onStart ( )
protectedvirtual

This method is called before the thread is started (call of start()).

Any adjustments of members should be done here.

Implementiert minotaur::Thread.

void minotaur::SensorThread::onStart ( )
protectedvirtual

This method is called before the thread is started (call of start()).

Any adjustments of members should be done here.

Implementiert minotaur::Thread.

void minotaur::SensorThread::onStop ( )
protectedvirtual

This method is called when stop() is called.

The correct stopping of the thread should be done here (e.g. set a bool to false).

Implementiert minotaur::Thread.

void minotaur::SensorThread::onStop ( )
protectedvirtual

This method is called when stop() is called.

The correct stopping of the thread should be done here (e.g. set a bool to false).

Implementiert minotaur::Thread.

void minotaur::SensorThread::run ( )
virtual

The content of this method is executed in the thread.

All work done by the thread should be implemented here.

Implementiert minotaur::Thread.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: