Commit 51a32df202d351024dfadea6dce269ffd9aa1a15

Authored by YangShuai
1 parent 9f3955fc

1 修复距离判定,进行回归测试

config.gradle
... ... @@ -21,7 +21,7 @@ ext {
21 21 //编译方式
22 22 debug : false,
23 23 //版本号
24   - version: "1.0.14",
  24 + version: "1.0.14-beta1",
25 25 //Lib库前缀
26 26 packeg : "com.cnlive.module",
27 27 //Lib库名称
... ...
moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/model/Constant.java
... ... @@ -38,8 +38,10 @@ public class Constant {
38 38 public static final double PASS_RATE = 0.7;//通过率70%
39 39 public static final int CHECK_ACCURACY = 50;//判断用户是否完成的精度范围
40 40 public static final int LOCA_ACCURACY = 100;//定位过滤精度
41   - public static final int LOCA_END_POINT_ACCURACY = 20;//终点位置比较精度
42   - public static final int LOCA_START_POINT_ACCURACY = 20;//起点位置比较精度
  41 +// public static final int LOCA_END_POINT_ACCURACY = 20;//终点位置比较精度
  42 + public static final int LOCA_END_POINT_ACCURACY = 2000000000;//终点位置比较精度
  43 +// public static final int LOCA_START_POINT_ACCURACY = 20;//起点位置比较精度
  44 + public static final int LOCA_START_POINT_ACCURACY = 2000000000;//起点位置比较精度
43 45 public static final int FENCE_OFFSET = 50;//围栏偏离距离
44 46 public static final int FENCE_DENOISE = 20;//围栏去噪精度20
45 47 public static final int TAKE_POINT_MAX_SIZE = 100;//最大打点数量
... ...