summaryrefslogtreecommitdiffstats
path: root/source/AVR_Studio/Soccer/navigation.h
diff options
context:
space:
mode:
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
+
+