cherry-pick 李小鹏66c5759c9

This commit is contained in:
lixiaopeng
2022-07-14 16:49:17 +08:00
committed by liujing
parent d0924ab4d8
commit f6c9dfa18c
5 changed files with 9 additions and 4 deletions

View File

@@ -105,7 +105,9 @@ public class MoGoHandAdasMsgManager implements
@Override
public void onAutopilotCarConfig(@NotNull MessagePad.CarConfigResp carConfigResp) {
Log.d("liyz", "onAutopilotCarConfig carConfigResp ");
if (carConfigResp != null && !TextUtils.isEmpty(carConfigResp.getMacAddress())) {
Log.d("liyz", "carConfigResp.getMacAddress() = " + carConfigResp.getMacAddress());
CallerBindingcarManager.getBindingcarProvider().getBindingcarInfo(carConfigResp.getMacAddress(), MoGoAiCloudClientConfig.getInstance().getSn());
}
}

View File

@@ -88,7 +88,7 @@ public class BindingcarNetWorkManager {
//根据车辆类型切换不同的车辆模型
if (info.getData().getVendor().equals("一汽红旗")) { //TODO
CallerHDMapManager.INSTANCE.changeCurrentIcon(R.raw.chuzuche);
CallerHDMapManager.INSTANCE.changeCurrentIcon(R.raw.xiaobache);
} else if (info.getData().getVendor().equals("东风")) {
CallerHDMapManager.INSTANCE.changeCurrentIcon(R.raw.chuzuche);
} else if (info.getData().getVendor().equals("金旅星辰")) {

View File

@@ -1956,8 +1956,11 @@ class DebugSettingView @JvmOverloads constructor(
}
}
/**
* 车辆加速度
*/
override fun onAutopilotAcc(carAcc: Float) {
TODO("Not yet implemented")
}
/**

View File

@@ -257,7 +257,7 @@ public class MogoMapUIController implements IMogoMapUIController {
public void setCarLightsType(int type, int time) {
initDelegate();
if (mDelegate != null) {
Log.d("liyz", "MogoMapUIController type = " + type + "---time = " + time);
// Log.d("liyz", "MogoMapUIController type = " + type + "---time = " + time);
mDelegate.setCarLightsType(type, time);
}
}

View File

@@ -223,7 +223,7 @@ public class AMapUIController implements IMogoMapUIController {
@Override
public void setCarLightsType(int type, int time) {
Log.d("liyz", "AMapUIController type = " + type + "---time = " + time);
// Log.d("liyz", "AMapUIController type = " + type + "---time = " + time);
if (mClient != null) {
mClient.setCarLightsType(type, time);
}