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.
Dependencies: mbed Eurobot_2012_Primary
motion.h
00001 #include "motors.h" 00002 #include "ai.h" 00003 #include "Kalman.h" 00004 00005 #ifndef MOTION 00006 #define MOTION 00007 class Motion { 00008 public: 00009 Motion(Motors &motorsin, AI &aiin, Kalman &kalmanin); 00010 Thread thr_motion; 00011 00012 private: 00013 Motors& motors; 00014 AI& ai; 00015 Kalman& kalman; 00016 00017 void motion_thread(); 00018 static void mtwrapper(void const *arg){ ((Motion*)arg)->motion_thread(); } 00019 00020 }; 00021 #endif
Generated on Tue Jul 12 2022 21:49:58 by
1.7.2