uyvug
Dependencies: Adafruit-16-Ch-PWM-Servo-Driver HCSR04 PID PololuQik2 QEI Sharp mbed-rtos
Fork of theRobot by
Diff: ShapeDetect.h
- Revision:
- 20:55dcff40c5d9
- Parent:
- 17:a5bb85ee205d
- Child:
- 21:0907e1f5e16c
--- a/ShapeDetect.h Fri Apr 04 01:09:49 2014 +0000 +++ b/ShapeDetect.h Sat Apr 05 07:26:15 2014 +0000 @@ -2,11 +2,12 @@ #define SHAPEDETECT_H_ /* theshold for setting binary output */ -#define THRESHOLD 80 +#define THRESHOLD 56 //areas from camera 11" from ground -#define TRIANGLE_AREA 2100 -#define SQUARE_AREA 3400 +#define TRIANGLE_AREA 2356 //2356 +#define SQUARE_AREA 3200 //3247 +#define CIRCLE_AREA 2800 //3036 #define AREA_TOLERANCE 100 /* modes for image processing */