[8.2.4][adas][data-center] 增加驾驶模式和否启用AIP选项功能 命令下发和查询接口
This commit is contained in:
@@ -798,6 +798,20 @@ interface IMoGoAutopilotControlProvider : IMoGoFunctionServerProvider {
|
||||
*/
|
||||
fun sendV2iDownPerceptionToPnc(enable: Int): Boolean
|
||||
|
||||
/**
|
||||
* 驾驶模式
|
||||
*
|
||||
* @param style 0-正常模式 1-安全模式 2-专业模式
|
||||
*/
|
||||
fun sendDrivingStyle(style: Int): Boolean
|
||||
|
||||
/**
|
||||
* 是否启用AIP选项功能
|
||||
*
|
||||
* @param enable false: off true:on 默认false
|
||||
*/
|
||||
fun sendActivateAip(enable: Boolean): Boolean
|
||||
|
||||
/**
|
||||
* 云端配置控制
|
||||
* @param type 0:蘑菇云 1:NDE云 2:基础平台云
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.mogo.eagle.core.function.api.autopilot
|
||||
|
||||
import com.zhjt.mogo.adas.data.bean.*
|
||||
import mogo.telematics.pad.*
|
||||
import com.zhjt.mogo.adas.data.bean.AdasParam
|
||||
import mogo.telematics.pad.MessagePad
|
||||
|
||||
|
||||
interface IMoGoGetParamResponseListener {
|
||||
@@ -16,5 +16,10 @@ interface IMoGoGetParamResponseListener {
|
||||
* @param getParamResp 配置参数
|
||||
* @param adasParam 解析后的配置参数
|
||||
*/
|
||||
fun onGetParamResp(header: MessagePad.Header, getParamResp: MessagePad.SetParamReq, adasParam: AdasParam)
|
||||
fun onGetParamResp(getParamResp: MessagePad.SetParamReq, adasParam: AdasParam){}
|
||||
|
||||
/**
|
||||
* AIP功能开关状态变更 只有变动才回调
|
||||
*/
|
||||
fun onChangeAipState(isActivateAip :Boolean){}
|
||||
}
|
||||
Reference in New Issue
Block a user