@@ -357,9 +357,7 @@ public class AMapViewWrapper implements IMogoMapView,
|
||||
// setUIMode(ui);
|
||||
// break;
|
||||
case Type_VR:
|
||||
if (DebugConfig.getCarMachineType() == DebugConfig.CAR_MACHINE_TYPE_LENOVO) {
|
||||
mMapView.getMapAutoViewHelper().setScaleVRMode(true);
|
||||
}
|
||||
mMapView.getMapAutoViewHelper().setScaleVRMode(true);
|
||||
mMapView.getMapAutoViewHelper().setMapStyle(MapAutoApi.MAP_STYLE_VR);
|
||||
return;
|
||||
// case Type_Light:
|
||||
|
||||
@@ -79,14 +79,17 @@ class AdasRecognizedResultDrawer extends BaseDrawer {
|
||||
* @param resultList adas感知融合数据
|
||||
*/
|
||||
public void renderAdasRecognizedResult(List<ADASRecognizedResult> resultList) {
|
||||
|
||||
final long start = System.nanoTime();
|
||||
if (resultList == null || resultList.isEmpty() || !DebugConfig.isUseAdasRecognize()) {
|
||||
clearOldMarker();
|
||||
Log.w("ADAS数据延时绘制", "resultList==>" + resultList + " DebugConfig.isUseAdasRecognize()==>" + DebugConfig.isUseAdasRecognize());
|
||||
return;
|
||||
}
|
||||
|
||||
if (!MogoApisHandler.getInstance().getApis().getStatusManagerApi().isVrMode()) {
|
||||
clearOldMarker();
|
||||
Log.w("ADAS数据延时绘制", "当前不是VR模式");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -101,6 +101,7 @@ public class MapMarkerManager implements IMogoMarkerClickListener,
|
||||
* @param context 上下文对象
|
||||
*/
|
||||
public void init(Context context) {
|
||||
Logger.d(TAG, "<------init------>");
|
||||
|
||||
if (mContext != null) {
|
||||
return;
|
||||
@@ -180,6 +181,7 @@ public class MapMarkerManager implements IMogoMarkerClickListener,
|
||||
// msg.what = MSG_ADAS;
|
||||
// msg.sendToTarget();
|
||||
// 使用与渠道配置一样的gps提供者提供的数据 修改fPadLenovo.gradle文件中的GPS_PROVIDER字段控制渲染来源
|
||||
Logger.d(TAG, "result.addAdasRecognizedDataCallback == 3 ------> ");
|
||||
if (FunctionBuildConfig.gpsProvider != 2) {
|
||||
AdasRecognizedResultDrawer.getInstance().renderAdasRecognizedResult(resultList);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user