commit!

Revision:
0:42026f893a2d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Motion/motion.h	Fri Jun 15 20:40:17 2012 +0000
@@ -0,0 +1,21 @@
+#include "motors.h"
+#include "ai.h"
+#include "Kalman.h"
+
+#ifndef MOTION
+#define MOTION
+class Motion {
+public:
+    Motion(Motors &motorsin, AI &aiin, Kalman &kalmanin);
+    Thread thr_motion;
+
+private:
+    Motors& motors;
+    AI& ai;
+    Kalman& kalman;
+    
+    void motion_thread();
+    static void mtwrapper(void const *arg){ ((Motion*)arg)->motion_thread(); }
+
+};
+#endif
\ No newline at end of file