test program

Dependencies:   LSM9DS1_Library2 MotorV2 SRF05 Tracker2 mbed nRF24L01P

Fork of DUMP_TRUCK_SPR2017 by Terrabots

Revision:
6:5cc6a9b6f60e
Parent:
5:dc4cf6cc24b3
Child:
10:cf77da9be0b8
--- a/DumpTruck.cpp	Tue Feb 07 21:01:20 2017 +0000
+++ b/DumpTruck.cpp	Tue Feb 14 14:37:05 2017 -0500
@@ -184,7 +184,13 @@
 //    
 //}    
 //
-//void DumpTruck::BedDown() {
+
+void DumpTruck::BedUp() 
+{
+}
+
+void DumpTruck::BedDown() 
+{
 //     SwitchState = bool GetBedUpperSwitch();
 //     if SwitchState
 //     {return 0;}
@@ -195,7 +201,10 @@
 //         //driveMotor
 //         }
 //         calibrate();
-//    }
+}
+
+
+
 //void DumpTruck::LowerBed() {
 //    SwitchState = bool GetLowerUpperSwitch();
 //     if SwitchState
@@ -209,7 +218,10 @@
 //         calibrate();
 //    }
 //}
-//void DumpTruck::raiseTo(int angle) {
+
+
+
+void DumpTruck::raiseTo(int angle) {
 //      pc.printf("Desired Angle: ");
 //    DesiredBedAngle = pc.getc();
 //    float CurrentBedAngle =  getBedAngle();
@@ -222,7 +234,8 @@
 //        }
 //    else
 //    {stop()}
-//}
+}
+
 //
 //float DumpTruck::getPivotAngle(){
 //    float input = AnalogIn(x);