summaryrefslogtreecommitdiffstats
path: root/source/AVR_Studio/Soccer/sensor/ballsensor.h
blob: 5fa7f0861320db028e77c20d8f4f31b0680a4814 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _BALLSENSOR_H_
#define _BALLSENSOR_H_

#include "../hal/board.h"

// Anzahl der Ballsensoren
#define NUM_BALLSENSOR 8

extern Board board;

class Ballsensor
{
private:
	int winkel[NUM_BALLSENSOR];
public:
	Ballsensor();
	~Ballsensor();
	
	int getBallwinkel(); // Gibt den aktuellen Winkel vom Ball zurück
};

#endif