Added a dilatometer "sensor"
[matches/MCTX3420.git] / server / sensors / dilatometer.h
index 52831e1..d224051 100644 (file)
 #define RATIO 3
 #define KERNELSIZE 3
 
-//Scaling factor required to change from pixels to mm
+//Scaling factor required to change from pixels to nm
 #define SCALE 1 // Note camera has not been calibrated yet so result will be in pixels
 
+/**
+ * Enum of Dilatometer IDs
+ */
+typedef enum
+{
+       DIL_POS,
+       DIL_DIFF
+} DilatometerID;
+
 extern bool Dilatometer_Init(const char * name, int id); // Initialise the dilatometer
 extern bool Dilatometer_Cleanup(int id); // Cleanup
 extern bool Dilatometer_Read(int id, double * value); // Read the Dilatometer

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