nav fixed

Dependencies:   Adafruit-16-Ch-PWM-Servo-Driver HCSR04 PID PololuQik2 QEI Sharp mbed-rtos

Fork of theRobot by Thomas Ashworth

Committer:
tashworth
Date:
Wed Apr 02 03:30:48 2014 +0000
Revision:
13:529323807361
Parent:
12:284be46593ae
Child:
14:784acd735b8c
4-1-14 10:31pm

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tashworth 0:1b64a0cedc5d 1 #ifndef SHAPEDETECT_H_
tashworth 0:1b64a0cedc5d 2 #define SHAPEDETECT_H_
tashworth 0:1b64a0cedc5d 3
tashworth 0:1b64a0cedc5d 4 /* theshold for setting binary output */
tashworth 12:284be46593ae 5 #define THRESHOLD 90
tashworth 3:b7b4780a7f6e 6
tashworth 3:b7b4780a7f6e 7 //areas from camera 11" from ground
tashworth 13:529323807361 8 #define TRIANGE_AREA 3000
tashworth 13:529323807361 9 #define SQUARE_AREA 3400
tashworth 13:529323807361 10 #define AREA_TOLERANCE 100
tashworth 0:1b64a0cedc5d 11
tashworth 0:1b64a0cedc5d 12 /* modes for image processing */
tashworth 0:1b64a0cedc5d 13 #define BINARY 1
tashworth 0:1b64a0cedc5d 14 #define GREYSCALE 2
tashworth 0:1b64a0cedc5d 15 #define DECIMAL 3
tashworth 0:1b64a0cedc5d 16
tashworth 0:1b64a0cedc5d 17
tashworth 0:1b64a0cedc5d 18
tashworth 0:1b64a0cedc5d 19 void lrf_baudCalibration(void);
tashworth 0:1b64a0cedc5d 20 void printImageToFile(int arrayType_f);
tashworth 0:1b64a0cedc5d 21 int edgeDetection(void);
tashworth 0:1b64a0cedc5d 22 void ImageToArray(int arrayType_a);
tashworth 0:1b64a0cedc5d 23 void centerMass(int *xcoord, int *ycoord, int *s_area);
tashworth 0:1b64a0cedc5d 24 void clearBounds(void);
tashworth 6:75259c3306dd 25 int shapeDetection(void);
tashworth 3:b7b4780a7f6e 26 int getDistance(void);
tashworth 13:529323807361 27
tashworth 11:8d2455e383ce 28 int get_com_x(void);
tashworth 11:8d2455e383ce 29 int get_com_y(void);
tashworth 11:8d2455e383ce 30 int get_com_a(void);
tashworth 0:1b64a0cedc5d 31
tashworth 8:77a57909aa15 32
tashworth 0:1b64a0cedc5d 33 #endif