Parcourir la source

Changed default tolerance to 0

Gamaliel Espinoza Macedo il y a 6 ans
Parent
commit
5e6d53d13f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      ondemand/calibration.py

+ 1 - 1
ondemand/calibration.py

@@ -7,7 +7,7 @@ import logging as log
 class Calibrations(object):
     TOLERANCE_RATE = 0.6
     THRESHOLD = 10
-    FALL_TOLERANCE = 2
+    FALL_TOLERANCE = 0
 
     def __init__(self, device_id):
         self.dev_ref = fbdb.reference('devices').child(device_id)