Robot's source code

Dependencies:   mbed

Revision:
63:fd9af0693e50
Parent:
57:ab13f4e7a2b2
Child:
89:d05001d85a02
diff -r 454cd844fe1e -r fd9af0693e50 Odometry/Odometry.h
--- a/Odometry/Odometry.h	Thu Apr 09 17:05:06 2015 +0000
+++ b/Odometry/Odometry.h	Thu Apr 09 17:32:36 2015 +0000
@@ -39,6 +39,8 @@
         
         float getVitLeft() {return m_vitLeft;}
         float getVitRight() {return m_vitRight;}
+        
+        void update(float dt);
     
     private:
         QEI* m_qei_left;
@@ -61,9 +63,7 @@
         
         float m_distPerTick_left, m_distPerTick_right, m_v;
         
-        Ticker updater;
-        
-        void update();
+        //Ticker updater;
 };
 
 #endif