Made distance public

Dependencies:   QEI mbed

Fork of Tracker by Terrabots

Files at this revision

API Documentation at this revision

Comitter:
jcallahan1
Date:
Sun Apr 23 18:57:31 2017 +0000
Parent:
3:eb8680da1721
Commit message:
Made "distance" public

Changed in this revision

Tracker.h Show annotated file Show diff for this revision Revisions of this file
diff -r eb8680da1721 -r 58157608cfbe Tracker.h
--- a/Tracker.h	Thu Jan 26 21:02:05 2017 +0000
+++ b/Tracker.h	Sun Apr 23 18:57:31 2017 +0000
@@ -17,6 +17,9 @@
         void setDirection();
         void checkToStart();
         void calcDisplacement();
+        
+        float distance;
+        
     private:
         QEI *wheel;
         PinName chA;
@@ -27,7 +30,7 @@
         float circumference;
         float constant;
 
-        float distance;
+        
 
         float x;
         float y;