just a test

Dependencies:   mbed

Fork of scoreLight_Advanced by Alvaro Cassinelli

Revision:
48:7633d8e7b0d3
Parent:
45:a3b984a79d5d
--- a/classLaserSensingTrajectory.h	Tue Apr 01 14:57:37 2014 +0000
+++ b/classLaserSensingTrajectory.h	Tue Dec 02 04:28:42 2014 +0000
@@ -14,7 +14,7 @@
 //(1) Autothreshold:
 // CONTRAST RATIO to compute autoThreshold:
 // MIN_CONTRAST_RATIO is the minimum contrast between max and min intensity necessary to "accept" a black and white zone:
-#define MIN_CONTRAST_RATIO 1.8//1.7 // 3 seems good when lookup table does not work 
+#define MIN_CONTRAST_RATIO 2.0//2.5//1.6//1.8//1.7 // 3 seems good when lookup table does not work 
 // THRESHOLD_FACTOR is where the threshold is actually placed between the min and max detected (with good contrast):
 #define THRESHOLD_FACTOR 0.5 //0.75 // 2/3 or 1/2 are good values 
 #define MIN_ACCEPTABLE_INTENSITY 16 // if maxI< this then we consider all the saccade on something black