24 lines
349 B
C
24 lines
349 B
C
![]() |
#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<75>ck
|
|||
|
};
|
|||
|
|
|||
|
#endif
|