This repository has been archived on 2025-03-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
rc2007-soccer/source/AVR_Studio/Soccer/sensor/ballsensor.h
2007-02-14 17:47:03 +00:00

24 lines
417 B
C++
Executable file

#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];
int ballwinkel;
public:
Ballsensor();
~Ballsensor();
int GetBallwinkel(); // Gibt den aktuellen Winkel vom Ball zurück
void Aktualisieren(); // Aktualisiert die Variable
};
#endif