commit!
Embed:
(wiki syntax)
Show/hide line numbers
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 Wed Jul 13 2022 17:39:34 by 1.7.2