summaryrefslogtreecommitdiffstats
path: root/source/AVR_Studio/Soccer/navigation.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/navigation.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/navigation.h')
-rwxr-xr-xsource/AVR_Studio/Soccer/navigation.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/source/AVR_Studio/Soccer/navigation.h b/source/AVR_Studio/Soccer/navigation.h
new file mode 100755
index 0000000..863687d
--- /dev/null
+++ b/source/AVR_Studio/Soccer/navigation.h
@@ -0,0 +1,31 @@
+#ifndef _NAVIGATION_H_
+#define _NAVIGATION_H_
+
+#include <math.h>
+#include "hal/board.h"
+#include "sensor/sensor.h"
+
+extern Board board;
+extern Sensor sensor;
+
+class Navigation
+{
+private:
+ int richtung;
+ int ausrichtung;
+ int geschwindigkeit;
+public:
+ Navigation();
+ ~Navigation();
+
+ void SetzeRichtung(int nRichtung);
+ void SetzeAusrichtung(int nAusrichtung);
+ void SetzeGeschwindigkeit(int nGeschwindigkeit);
+
+ void Aktualisieren(int nRichtung,int nAusrichtung,int nGeschwindigkeit);
+ void Aktualisieren();
+};
+
+#endif
+
+