Main repository for dump truck API development in Spring 2017
Dependencies: Tracker mbed MotorV2 SRF05 nRF24L01P
Fork of DUMP_TRUCK_TEST_V1 by
Activities
This Week
If needed, please contact Milo Pan at mpan9@gatech.edu for rights and access to this repository.
Diff: DumpTruck.cpp
- 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);