lizhanwei
2020-01-19 7beaabb946002d45b82474a84ea3b4bab75dbadd
更新地图和车辆模型
3个文件已修改
8 ■■■■ 已修改文件
app/src/main/assets/map.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
app/src/main/assets/vehiclemodel.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
app/src/main/java/safeluck/drive/evaluation/receiver/BootFinishReceiver.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
app/src/main/assets/map.json
@@ -2,7 +2,7 @@
  "id": 863,
  "item": 1,
  "point": [{
    "x-y": [-11.9669, 28.013, -11.5114, 27.137, -10.8069, 27.5039, -10.2969, 26.4212, -9.2102, 26.8894, -9.6513, 28.0027, -8.9758, 28.3797, -9.5057, 29.3232]
    "x-y": [-5.3806, 30.3791, -4.9130, 29.4974, -4.1991, 29.8640, -3.6962, 28.7786, -2.6023, 29.2578, -3.0759, 30.3599, -2.4065, 30.7090, -2.8984, 31.6962]
  }
  ]
},
app/src/main/assets/vehiclemodel.json
@@ -1,9 +1,9 @@
{
  "main_ant": [0, 0],
  "main_ant": [-3.6683, 38.3089],
  "axial": [0, 3],
  "left_front_tire": [1, 0],
  "right_front_tire": [5, 0],
  "left_rear_tire": [2, 3],
  "right_rear_tire": [4, 3],
  "point": [0, 2, -1, 2, -1, -1, 0, -1, 1, -1, 1, 2]
  "point": [-3.7268, 37.7265, -3.6285, 37.7126, -3.5551, 38.6029, -3.6423, 38.0747, -3.7222, 38.0969, -3.8105, 37.7537]
}
app/src/main/java/safeluck/drive/evaluation/receiver/BootFinishReceiver.java
@@ -19,7 +19,7 @@
            MyLog.i(TAG,"开机启动完成");
            Intent first= new Intent(context, MainActivity.class);  //启动指定页面
            first.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
            context.startActivity(intent);
            context.getApplicationContext().startActivity(intent);
        }
    }
}