Panagiotis Triantafyllou

steps fixes

...@@ -48,7 +48,7 @@ public class WarplyHealthService extends Service implements SensorEventListener ...@@ -48,7 +48,7 @@ public class WarplyHealthService extends Service implements SensorEventListener
48 private final int ACCEL_RING_SIZE = 50; 48 private final int ACCEL_RING_SIZE = 50;
49 private final int VEL_RING_SIZE = 10; 49 private final int VEL_RING_SIZE = 10;
50 // change this threshold according to your sensitivity preferences 50 // change this threshold according to your sensitivity preferences
51 - private final float STEP_THRESHOLD = 20f; // default 40, cosmote default 20 51 + private final float STEP_THRESHOLD = 8f; // default 40, cosmote default 20
52 private final int STEP_DELAY_NS = 250000000; 52 private final int STEP_DELAY_NS = 250000000;
53 private int accelRingCounter = 0; 53 private int accelRingCounter = 0;
54 private float[] accelRingX = new float[ACCEL_RING_SIZE]; 54 private float[] accelRingX = new float[ACCEL_RING_SIZE];
......