Terrabots / Mbed 2 deprecated DUMP_TRUCK_V3

Dependencies:   mbed

Revision:
1:92832cd0e8c3
Parent:
0:2fc8a427dbcf
Child:
2:35282815cbea
--- a/DumpTruck.h	Tue Oct 25 19:22:38 2016 +0000
+++ b/DumpTruck.h	Tue Oct 25 19:45:59 2016 +0000
@@ -15,6 +15,7 @@
     void raiseTo();
     void LowerBed();
     void stop();
+    void Calibrate();
     
     
 protected:
@@ -31,7 +32,8 @@
     bool SwitchState;
     float distance; //desired distance to have the robot drive
     float speed; //value between 0 and 1 times the full speed of the robot
-    float DesiredAngle; 
+    float DesiredPivotAngle; 
+    float DesiredBedAngle;
     float PivotSpeed; 
     int truckNumber;
     bool isCalibrated;