diff --git a/OCH/mogo-och-bus/src/main/res/layout/bus_base_fragment.xml b/OCH/mogo-och-bus/src/main/res/layout/bus_base_fragment.xml
index 7ab295d950..a0ef277338 100644
--- a/OCH/mogo-och-bus/src/main/res/layout/bus_base_fragment.xml
+++ b/OCH/mogo-och-bus/src/main/res/layout/bus_base_fragment.xml
@@ -5,26 +5,31 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/dp_72">
-
+
-
+
+
+
+
+
+
+
+
-
trajectoryInfos) {
-
- }
-
- /**
- * 根据全路径获取起始点和经停点进行导航路线绘制
- * 自动驾驶启动后获得数据,获取全路径的具体时间要进行路测
- * 室内某个bag包自动驾驶启动8s后返回
- */
- @Override
- public void onAutopilotRotting(@org.jetbrains.annotations.Nullable MessagePad.GlobalPathResp globalPathResp) {
- List list = globalPathResp.getWayPointsList();
- int minCount = 2;
- if (list.size() >= minCount) {
- Location sLocation = (Location) list.get(0);
- Location eLocation = (Location) list.get(list.size() - 1);
- mStartLatlng = new NaviLatLng(sLocation.getLongitude(), sLocation.getLatitude());
- mEndLatlng = new NaviLatLng(eLocation.getLongitude(), eLocation.getLatitude());
- sList.add(mStartLatlng);
- eList.add(mEndLatlng);
- for (int i = 1; i < list.size() - minCount; i++) {
- Location wayLoc = (Location) list.get(i);
- NaviLatLng way = new NaviLatLng(wayLoc.getLongitude(), wayLoc.getLatitude());
- mWayPointList.add(way);
- }
- }
- int strategy = 0;
- try {
- //再次强调,最后一个参数为true时代表多路径,否则代表单路径
- strategy = mAMapNavi.strategyConvert(true, false, false, false, false);
- } catch (Exception e) {
- e.printStackTrace();
- }
- Log.d(TAG, "calculateDriveRoute ADAS全局路径坐标:" + list.size() + "," + sList.toString() + "," + eList.toString() + "," + mWayPointList.toString());
- //指定路径绘制导航路线
- mAMapNavi.calculateDriveRoute(sList, eList, mWayPointList, strategy);
- }
}