X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fdilatometer.h;h=7bb9447dc4624217033a08a555ccbcd5a0e30a64;hb=591b9856255a646365935a89e9fbe2835e1e43c6;hp=6635cdbe7271252997ef91c2b097c62be6d75622;hpb=3249c28cda8d950227cb553721092b9c3f3c03df;p=matches%2FMCTX3420.git diff --git a/server/dilatometer.h b/server/dilatometer.h index 6635cdb..7bb9447 100644 --- a/server/dilatometer.h +++ b/server/dilatometer.h @@ -1,14 +1,17 @@ /** * @file dilatometer.h - * @purpose Declarations for functions to deal with dilatometer + * @brief Declarations for functions to deal with dilatometer */ #include "common.h" //Threshold to determine the edge of the can -#define THRES 200 +#define THRES 230 + +//Number of samples of the image to take +#define SAMPLES 600 extern void Dilatometer_Init(); // Initialise the dilatometer extern void Dilatometer_Cleanup(); // Cleanup -extern double Dilatometer_Read( int samples); // Read the dilatometer +extern bool Dilatometer_Read( double * value); // Read the Dilatometer