summaryrefslogtreecommitdiffstats
path: root/source/ct-Bot/include/bot-logic/behaviour_drive_square.h
diff options
context:
space:
mode:
authorsicarius <devnull@localhost>2007-02-11 19:32:03 +0100
committersicarius <devnull@localhost>2007-02-11 19:32:03 +0100
commit56d9bdd39ed36c36e9a61411b86c76d5228b2133 (patch)
tree0cca7a63a5609f91d1912ecbde6743938c9ae5d2 /source/ct-Bot/include/bot-logic/behaviour_drive_square.h
parent644121b478a57772150f460c3c8cd035aa6767a2 (diff)
downloadrc2007-soccer-56d9bdd39ed36c36e9a61411b86c76d5228b2133.tar
rc2007-soccer-56d9bdd39ed36c36e9a61411b86c76d5228b2133.zip
Added lot's of code-files used during work
Diffstat (limited to 'source/ct-Bot/include/bot-logic/behaviour_drive_square.h')
-rw-r--r--source/ct-Bot/include/bot-logic/behaviour_drive_square.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/source/ct-Bot/include/bot-logic/behaviour_drive_square.h b/source/ct-Bot/include/bot-logic/behaviour_drive_square.h
new file mode 100644
index 0000000..934a4e4
--- /dev/null
+++ b/source/ct-Bot/include/bot-logic/behaviour_drive_square.h
@@ -0,0 +1,50 @@
+/*
+ * c't-Bot
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ * This program is distributed in the hope that it will be
+ * useful, but WITHOUT ANY WARRANTY; without even the implied
+ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307, USA.
+ *
+ */
+
+/*! @file behaviour_drive_square.h
+ * @brief Bot faehrt im Quadrat
+ *
+ * @author Benjamin Benz (bbe@heise.de)
+ * @date 03.11.06
+*/
+
+
+#ifndef BEHAVIOUR_DRIVE_SQUARE_H_
+#define BEHAVIOUR_DRIVE_SQUARE_H_
+
+#include "bot-logic/bot-logik.h"
+#ifdef BEHAVIOUR_DRIVE_SQUARE_AVAILABLE
+/*!
+ * Laesst den Roboter ein Quadrat abfahren.
+ * Einfaches Beispiel fuer ein Verhalten, das einen Zustand besitzt.
+ * Es greift auf andere Behaviours zurueck und setzt daher
+ * selbst keine speedWishes.
+ * @param *data der Verhaltensdatensatz
+ */
+void bot_drive_square_behaviour(Behaviour_t *data);
+
+/*!
+ * Laesst den Roboter ein Quadrat abfahren.
+ * @param caller Der obligatorische Verhaltensdatensatz des aufrufers
+ */
+void bot_drive_square(Behaviour_t* caller);
+
+#endif
+
+#endif /*BEHAVIOUR_DRIVE_SQUARE_H_*/