Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Eurobot_2012_Secondary by
Eurobot_shared/Motion/motion.h
- Committer:
- narshu
- Date:
- 2012-10-17
- Revision:
- 1:cc2a9eb0bd55
File content as of revision 1:cc2a9eb0bd55:
#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
