note code of bug, and wait to test
This commit is contained in:
@@ -50,18 +50,18 @@ public class MoGoHandAdasMsgManager implements
|
||||
@Override
|
||||
public void onAutopilotLightSwitchData(Chassis.LightSwitch lightSwitch) {
|
||||
//can数据转发 转向灯状态 0是正常 1是左转 2是右转
|
||||
if (lightSwitch != null) {
|
||||
int turnLightNum = lightSwitch.getNumber();
|
||||
AmiClientManager.getInstance().setTurnLightState(turnLightNum);
|
||||
//设置转向灯
|
||||
CallerHmiManager.INSTANCE.showTurnLight(turnLightNum);
|
||||
}
|
||||
// if (lightSwitch != null) {
|
||||
// int turnLightNum = lightSwitch.getNumber();
|
||||
// AmiClientManager.getInstance().setTurnLightState(turnLightNum);
|
||||
// //设置转向灯
|
||||
// CallerHmiManager.INSTANCE.showTurnLight(turnLightNum);
|
||||
// }
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAutopilotBrakeLightData(boolean brakeLight) {
|
||||
//设置刹车信息 TODO 需要添加转向和删除的优先级
|
||||
CallerHmiManager.INSTANCE.showBrakeLight(brakeLight ? 1 : 0);
|
||||
// CallerHmiManager.INSTANCE.showBrakeLight(brakeLight ? 1 : 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -91,9 +91,9 @@ public class MoGoHandAdasMsgManager implements
|
||||
|
||||
@Override
|
||||
public void onAutopilotCarConfig(@NotNull MessagePad.CarConfigResp carConfigResp) {
|
||||
if (carConfigResp != null && !TextUtils.isEmpty(carConfigResp.getMacAddress())) {
|
||||
CallerBindingcarManager.getBindingcarProvider().getBindingcarInfo(carConfigResp.getMacAddress());
|
||||
}
|
||||
// if (carConfigResp != null && !TextUtils.isEmpty(carConfigResp.getMacAddress())) {
|
||||
// CallerBindingcarManager.getBindingcarProvider().getBindingcarInfo(carConfigResp.getMacAddress());
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -21,14 +21,11 @@ import record_cache.RecordPanelOuterClass
|
||||
class DevaToolsProvider : IDevaToolsProvider {
|
||||
|
||||
companion object {
|
||||
const val MODULE_NAME = "DevaTools"
|
||||
const val MODULE_NAME = "DevaToolsProvider"
|
||||
}
|
||||
|
||||
private var mContext: Context? = null
|
||||
|
||||
override val functionName: String
|
||||
get() = "DevaToolsProvider"
|
||||
|
||||
override fun init(context: Context) {
|
||||
mContext = context
|
||||
traceManager.init(context)
|
||||
@@ -92,7 +89,4 @@ class DevaToolsProvider : IDevaToolsProvider {
|
||||
// upgradeManager.downLoadPackage(mContext!!, downLoadKey)
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
MogoLogCatchManager.onDestroy()
|
||||
}
|
||||
}
|
||||
@@ -2,16 +2,16 @@ package com.mogo.eagle.core.function.api.devatools
|
||||
|
||||
import android.content.Context
|
||||
import android.view.View
|
||||
import com.alibaba.android.arouter.facade.template.IProvider
|
||||
import com.mogo.eagle.core.data.deva.chain.ChainLogParam
|
||||
import com.mogo.eagle.core.data.deva.scene.SceneModule
|
||||
import com.mogo.eagle.core.data.deva.scene.SceneTAG
|
||||
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
|
||||
import record_cache.RecordPanelOuterClass
|
||||
|
||||
/**
|
||||
* 开发套件工具接口
|
||||
*/
|
||||
interface IDevaToolsProvider : IMoGoFunctionServerProvider {
|
||||
interface IDevaToolsProvider : IProvider {
|
||||
|
||||
/**
|
||||
* 开始抓取日志,默认10min
|
||||
|
||||
@@ -60,7 +60,7 @@ HOOK_LOG_VERSION=1.5.17
|
||||
SERVICE_CHAIN_VERSION=1.0.53
|
||||
################ 外部依赖引用 ################
|
||||
# loglib
|
||||
LOGLIB_VERSION=1.2.19
|
||||
LOGLIB_VERSION=1.2.20
|
||||
######## MogoAiCloudSDK Version ########
|
||||
# 网络请求
|
||||
MOGO_NETWORK_VERSION=1.3.32
|
||||
|
||||
Reference in New Issue
Block a user