23 lines
349 B
C++
Executable file
23 lines
349 B
C++
Executable file
#ifndef _SENSOR_H_
|
|
#define _SENSOR_H_
|
|
|
|
#include "../hal/board.h"
|
|
#include "ballsensor.h"
|
|
#include "../global.h"
|
|
|
|
extern Board board;
|
|
|
|
class Sensor
|
|
{
|
|
private:
|
|
Ballsensor ballsensor;
|
|
public:
|
|
Sensor();
|
|
~Sensor();
|
|
|
|
void Aktualisieren();
|
|
|
|
int getAusrichtung(); // Gibt die aktuelle Ausrichtung des Roboters zurück
|
|
};
|
|
|
|
#endif
|