Eurobot2012_Primary
Dependencies: mbed Eurobot_2012_Primary
Revision 12:2981367c63a0, committed 2012-04-28
- Comitter:
- narshu
- Date:
- Sat Apr 28 18:26:26 2012 +0000
- Parent:
- 10:294b9adbc9d3
- Child:
- 13:57ea4e520dbd
- Commit message:
- Working after moving motion to own file
Changed in this revision
motion.cpp | Show annotated file Show diff for this revision Revisions of this file |
motion.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/motion.cpp Sat Apr 28 18:10:55 2012 +0000 +++ b/motion.cpp Sat Apr 28 18:26:26 2012 +0000 @@ -2,6 +2,7 @@ #include "geometryfuncs.h" Motion::Motion(Motors &motorsin, AI &aiin, Kalman &kalmanin): + thr_motion(mtwrapper,this,osPriorityNormal,1024), motors(motorsin), ai(aiin), kalman(kalmanin) { }
--- a/motion.h Sat Apr 28 18:10:55 2012 +0000 +++ b/motion.h Sat Apr 28 18:26:26 2012 +0000 @@ -5,6 +5,7 @@ class Motion { public: Motion(Motors &motorsin, AI &aiin, Kalman &kalmanin); + Thread thr_motion; private: Motors& motors;