For IEEE Robotics

Dependencies:   Adafruit-16-Ch-PWM-Servo-Driver HCSR04 PID PololuQik2 QEI Sharp mbed-rtos

Revision:
11:8d2455e383ce
Parent:
8:77a57909aa15
Child:
12:284be46593ae
--- a/ShapeDetect.h	Sat Mar 29 21:22:14 2014 +0000
+++ b/ShapeDetect.h	Tue Apr 01 02:00:01 2014 +0000
@@ -2,11 +2,11 @@
 #define SHAPEDETECT_H_
 
 /* theshold for setting binary output */
-#define THRESHOLD 65 
+#define THRESHOLD 100 
 
 //areas from camera 11" from ground
-#define TRIANGE_AREA_TRESHOLD   3300
-#define SQUARE_AREA_TRESHOLD    4900           
+#define TRIANGE_AREA_TRESHOLD   3350
+#define SQUARE_AREA_TRESHOLD    3800           
 
 /* modes for image processing */
 #define BINARY    1         
@@ -24,7 +24,9 @@
 int shapeDetection(void);
 int getDistance(void);
 void centerCamWithTool(void);
-
+int get_com_x(void);
+int get_com_y(void);
+int get_com_a(void);
 
 
 #endif
\ No newline at end of file