added normalization and use of keyboard. I tested it and it worked
Dependencies: Adafruit-16-Ch-PWM-Servo-Driver mbed
Fork of theRobot by
ShapeDetect.h
- Committer:
- Fairy_Paolina
- Date:
- 2014-03-08
- Revision:
- 4:116829a5ae3c
- Parent:
- 0:1b64a0cedc5d
File content as of revision 4:116829a5ae3c:
#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