Eurobot_shared pubulished from Eurobot Primary

Motion/motion.h

Committer:
narshu
Date:
2012-08-07
Revision:
0:434fd09723be

File content as of revision 0:434fd09723be:

#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