uyvug
Dependencies: Adafruit-16-Ch-PWM-Servo-Driver HCSR04 PID PololuQik2 QEI Sharp mbed-rtos
Fork of theRobot by
Diff: ShapeDetect.h
- Revision:
- 12:284be46593ae
- Parent:
- 11:8d2455e383ce
- Child:
- 13:529323807361
diff -r 8d2455e383ce -r 284be46593ae ShapeDetect.h --- a/ShapeDetect.h Tue Apr 01 02:00:01 2014 +0000 +++ b/ShapeDetect.h Wed Apr 02 00:30:30 2014 +0000 @@ -2,11 +2,11 @@ #define SHAPEDETECT_H_ /* theshold for setting binary output */ -#define THRESHOLD 100 +#define THRESHOLD 90 //areas from camera 11" from ground -#define TRIANGE_AREA_TRESHOLD 3350 -#define SQUARE_AREA_TRESHOLD 3800 +#define TRIANGE_AREA_TRESHOLD 3000 +#define SQUARE_AREA_TRESHOLD 3400 /* modes for image processing */ #define BINARY 1