uyvug
Dependencies: Adafruit-16-Ch-PWM-Servo-Driver HCSR04 PID PololuQik2 QEI Sharp mbed-rtos
Fork of theRobot by
ShapeDetect.h
- Committer:
- tashworth
- Date:
- 2014-03-03
- Revision:
- 0:1b64a0cedc5d
- Child:
- 3:b7b4780a7f6e
File content as of revision 0:1b64a0cedc5d:
#ifndef SHAPEDETECT_H_ #define SHAPEDETECT_H_ /* theshold for setting binary output */ #define THRESHOLD 100 /* modes for image processing */ #define BINARY 1 #define GREYSCALE 2 #define DECIMAL 3 void lrf_baudCalibration(void); void printImageToFile(int arrayType_f); int edgeDetection(void); void ImageToArray(int arrayType_a); void centerMass(int *xcoord, int *ycoord, int *s_area); void clearBounds(void); int shapeDetection_mass(void); int laserDistance(void); #endif