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.
Fork of IEEE_14_Freescale by
Diff: robot.h
- Revision:
- 27:688409727452
- Parent:
- 26:ade7c813538f
- Child:
- 37:38a4ad49343e
--- a/robot.h Fri Mar 14 00:38:51 2014 +0000
+++ b/robot.h Fri Mar 14 02:13:10 2014 +0000
@@ -21,6 +21,7 @@
class robot{
private:
Timer stepTimer;
+ int cameraMode;
public:
SPI spi;
remoteEnc bigenc;
@@ -33,6 +34,7 @@
robot();
double x,y,rot;
int circleX,circleY,rectX,rectY,rectRot,triX,triY,triRot;
+ int flameLocation;
int absDriveForward(double angle, int dist);
int smoothMove(int distance, int rotate, int maxSpeed);
int driveForward(double angle, int dist);
@@ -40,7 +42,11 @@
double turn(double power, double degrees);
int moveTo(double xInches, double yInches);
int turntowards(double xInches, double yInches);
+ int switchCameraMode(int mode);
+ int shapeCheck();
int pollForShapes();
+ int rigCheck();
+ int pollForRigs();
};
#endif
