Sooner Competitive Robotics / Mbed 2 deprecated IEEE_14_Freescale

Dependencies:   mbed

Fork of IEEE_14_Freescale by IEEE 2014 Mbed

Revision:
26:ade7c813538f
Parent:
17:e247d58d9f42
Child:
27:688409727452
diff -r f5b8b0ebdcef -r ade7c813538f robot.h
--- a/robot.h	Thu Mar 13 06:25:31 2014 +0000
+++ b/robot.h	Fri Mar 14 00:38:51 2014 +0000
@@ -19,6 +19,8 @@
 #include "droidBT.h"
 
 class robot{
+private:
+    Timer stepTimer;
 public:
     SPI spi;
     remoteEnc bigenc;
@@ -30,8 +32,7 @@
     droidBT BTLink;
     robot();
     double x,y,rot;
-    double pfac,ifac,dfac;
-    double angfac;
+    int circleX,circleY,rectX,rectY,rectRot,triX,triY,triRot;
     int absDriveForward(double angle, int dist);
     int smoothMove(int distance, int rotate, int maxSpeed);
     int driveForward(double angle, int dist);
@@ -39,6 +40,7 @@
     double turn(double power, double degrees);
     int moveTo(double xInches, double yInches);
     int turntowards(double xInches, double yInches);
+    int pollForShapes();
 };
 
 #endif