Done a bunch of changes to image handling
[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 //Scaling factor required to change from pixels to mm
15 #define SCALE 1 // Note camera has not been calibrated yet so result will be in pixels
16
17 extern bool Dilatometer_Init(const char * name, int id); // Initialise the dilatometer
18 extern bool Dilatometer_Cleanup(int id); // Cleanup
19 extern bool Dilatometer_Read(int id, double * value); // Read the Dilatometer
20

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