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

Gets distance-information from the sensors. Mehr ...

#include <SensorController.hpp>

Öffentliche Methoden

 SensorController (nxt::Brick *p_brick)
uint8_t getDistance (const uint8_t p_id)
 get the last measured distance from a specific sensor
uint8_t addSensor (const uint8_t p_port)
void clearSensors ()
int count ()

Ausführliche Beschreibung

Gets distance-information from the sensors.

This class is used for the SensorCommunicator

Dokumentation der Elementfunktionen

uint8_t minotaur::SensorController::getDistance ( const uint8_t  p_id)

get the last measured distance from a specific sensor

Parameter
p_idid of the sensor
Rückgabewerte
getDistancemeasured distance

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