Eurobot2012_Primary
Dependencies: mbed Eurobot_2012_Primary
Diff: Eurobot_shared/Motion/motion.h
- Revision:
- 24:7a3906c2f5d5
- Parent:
- 17:bafcef1c3579
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Eurobot_shared/Motion/motion.h Fri May 04 05:23:45 2012 +0000 @@ -0,0 +1,18 @@ +#include "motors.h" +#include "ai.h" +#include "Kalman.h" + +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(); } + +}; \ No newline at end of file