added normalization and use of keyboard. I tested it and it worked

Dependencies:   Adafruit-16-Ch-PWM-Servo-Driver mbed

Fork of theRobot by Thomas Ashworth

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ShapeDetect.h Source File

ShapeDetect.h

00001 #ifndef SHAPEDETECT_H_
00002 #define SHAPEDETECT_H_
00003 
00004 /* theshold for setting binary output */
00005 #define THRESHOLD 100        
00006 
00007 /* modes for image processing */
00008 #define BINARY    1         
00009 #define GREYSCALE 2
00010 #define DECIMAL   3
00011 
00012 
00013  
00014 void lrf_baudCalibration(void);
00015 void printImageToFile(int arrayType_f);
00016 int edgeDetection(void); 
00017 void ImageToArray(int arrayType_a);
00018 void centerMass(int *xcoord, int *ycoord, int *s_area);
00019 void clearBounds(void);
00020 int shapeDetection_mass(void);
00021 int laserDistance(void);
00022 
00023 
00024 #endif