Ver código fonte

Changed default tolerance to 0

Gamaliel Espinoza Macedo 6 anos atrás
pai
commit
5e6d53d13f
1 arquivos alterados com 1 adições e 1 exclusões
  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)