Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: DumpTruck.h
- 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;