uyvug
Dependencies: Adafruit-16-Ch-PWM-Servo-Driver HCSR04 PID PololuQik2 QEI Sharp mbed-rtos
Fork of theRobot by
Diff: ShapeDetect.h
- Revision:
- 15:78f5e937f6ab
- Parent:
- 14:784acd735b8c
- Child:
- 16:8bb212df81b7
diff -r 784acd735b8c -r 78f5e937f6ab ShapeDetect.h --- a/ShapeDetect.h Wed Apr 02 03:36:49 2014 +0000 +++ b/ShapeDetect.h Wed Apr 02 04:04:28 2014 +0000 @@ -14,6 +14,8 @@ #define GREYSCALE 2 #define DECIMAL 3 +#define RIG_IP_THRESHOLD 1000 +#define RIG_1_IP_THRESHOLD 3000 void lrf_baudCalibration(void); @@ -24,6 +26,7 @@ void clearBounds(void); int shapeDetection(void); int getDistance(void); +int rigDetectionImgProc(void); int get_com_x(void); int get_com_y(void);