test program

Dependencies:   LSM9DS1_Library2 MotorV2 SRF05 Tracker2 mbed nRF24L01P

Fork of DUMP_TRUCK_SPR2017 by Terrabots

Revision:
3:cd6e2d7c7c9c
Parent:
0:6942f0e2198c
Child:
5:dc4cf6cc24b3
diff -r 7811df5a6052 -r cd6e2d7c7c9c DumpTruck.h
--- a/DumpTruck.h	Tue Nov 15 20:04:54 2016 +0000
+++ b/DumpTruck.h	Tue Nov 15 21:30:12 2016 +0000
@@ -14,11 +14,13 @@
     //void BedUp();   
     //void raiseTo();
     //void LowerBed();
+    
   
 protected:
     int truckNumber;
     float speed;                 // desired speed to drive the robot, a number between -1 and 1
-    float distance;              // input of desired distance to be traveled
+    float distance;  
+    float getDistance();            // input of desired distance to be traveled
     float setTruckSpeed();       // set truck speed
     float setTruckDistance();    // set distance to be traveled
     //getBedAngle(); //Get data from Bed potentiometer, Hari is looking into the component for this