changed some variables to defines
[matches/MCTX3420.git] / server / sensors / dilatometer.h
1 /**
2  * @file dilatometer.h
3  * @brief Declarations for functions to deal with dilatometer
4  */
5
6 #include "../common.h"
7
8 //Threshold to determine the edge of the can
9 #define THRES 230
10
11 //Number of samples of the image to take
12 #define SAMPLES 600
13
14 // Canny Edge algorithm variables
15 #define BLUR 5
16 #define LOWTHRESHOLD 30
17 #define RATIO 3
18 #define KERNELSIZE 3
19
20 //Scaling factor required to change from pixels to mm
21 #define SCALE 1 // Note camera has not been calibrated yet so result will be in pixels
22
23 extern bool Dilatometer_Init(const char * name, int id); // Initialise the dilatometer
24 extern bool Dilatometer_Cleanup(int id); // Cleanup
25 extern bool Dilatometer_Read(int id, double * value); // Read the Dilatometer
26

UCC git Repository :: git.ucc.asn.au