summaryrefslogtreecommitdiffstats
path: root/source/AVR_Studio/Soccer/sensor/sensor.h
diff options
context:
space:
mode:
authorsicarius <devnull@localhost>2007-02-11 20:03:00 +0100
committersicarius <devnull@localhost>2007-02-11 20:03:00 +0100
commit05c8b0af602b222d00c227560682158333b726a2 (patch)
tree98a7eaa96222097b9d74343b37447820f9250efc /source/AVR_Studio/Soccer/sensor/sensor.h
parent1a6b28b1c2a68cfccbe8f4ed9866aadf88db7085 (diff)
downloadrc2007-soccer-05c8b0af602b222d00c227560682158333b726a2.tar
rc2007-soccer-05c8b0af602b222d00c227560682158333b726a2.zip
Added lot's of code-files used during work
Diffstat (limited to 'source/AVR_Studio/Soccer/sensor/sensor.h')
-rwxr-xr-xsource/AVR_Studio/Soccer/sensor/sensor.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/source/AVR_Studio/Soccer/sensor/sensor.h b/source/AVR_Studio/Soccer/sensor/sensor.h
new file mode 100755
index 0000000..25d36c2
--- /dev/null
+++ b/source/AVR_Studio/Soccer/sensor/sensor.h
@@ -0,0 +1,23 @@
+#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