ksdflsjdfljas
Dependencies: Adafruit-16-Ch-PWM-Servo-Driver HCSR04 PID PololuQik2 QEI Sharp mbed-rtos
Fork of theRobot by
Diff: ShapeDetect.h
- Revision:
- 16:8bb212df81b7
- Parent:
- 15:78f5e937f6ab
- Child:
- 17:a5bb85ee205d
diff -r 78f5e937f6ab -r 8bb212df81b7 ShapeDetect.h --- a/ShapeDetect.h Wed Apr 02 04:04:28 2014 +0000 +++ b/ShapeDetect.h Wed Apr 02 23:54:05 2014 +0000 @@ -2,11 +2,11 @@ #define SHAPEDETECT_H_ /* theshold for setting binary output */ -#define THRESHOLD 90 +#define THRESHOLD 80 //areas from camera 11" from ground -#define TRIANGLE_AREA 3000 -#define SQUARE_AREA 3400 +#define TRIANGLE_AREA 2100 +#define SQUARE_AREA 3600 #define AREA_TOLERANCE 100 /* modes for image processing */