Eurobot2012_Primary

Dependencies:   mbed Eurobot_2012_Primary

Eurobot_shared/Motion/motion.h

Committer:
narshu
Date:
2012-05-03
Revision:
22:7ba09c0af0d0
Parent:
17:bafcef1c3579

File content as of revision 22:7ba09c0af0d0:

#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(); }

};