Wrote code to implement camera
[matches/MCTX3420.git] / server / dilatometer.h
index b3b7348..7bb9447 100644 (file)
@@ -6,9 +6,12 @@
 #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
 

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