[6.5.1_exam]合并Taxi考试到主分支

This commit is contained in:
xuxinchao
2024-07-30 18:44:38 +08:00
parent 2c8e80eca8
commit cca38246cc
21 changed files with 965 additions and 25 deletions

View File

@@ -194,6 +194,46 @@ interface IMoGoAutopilotControlProvider : IMoGoFunctionServerProvider {
*/
fun sendDetouringSpeed(speed: Double): Boolean
/**
* AEB开关
* isEnable = true 开启
* isEnable = false 关闭
* @return boolean
*/
fun sendAebCmd(isEnable: Boolean): Boolean
/**
* 限制绕障开关
* isEnable = true 限制绕障
* isEnable = false 正常绕障
* @return boolean
*/
fun sendLaneChangeRestrainValid(isEnable: Boolean): Boolean
/**
* 停车让行线前避让等待开关
* isEnable = true 停车让行线前需要避让等待
* isEnable = false 停车让行线前无需避让等待
* @return boolean
*/
fun sendStopYieldValid(isEnable: Boolean): Boolean
/**
* 地图限速功能开关
* isEnable = true 使用地图限速功能
* isEnable = false 不使用地图限速功能
* @return boolean
*/
fun sendHadmapSpeedLimitValid(isEnable: Boolean): Boolean
/**
* 环岛模式开关
* isEnable = true 环岛模式
* isEnable = false 普通模式
* @return boolean
*/
fun sendRampThetaValid(isEnable: Boolean): Boolean
/**
* 弱网减速停车策略开关
* isEnable = true 使用弱网减速停车策略
@@ -539,6 +579,8 @@ interface IMoGoAutopilotControlProvider : IMoGoFunctionServerProvider {
fun sendPlanningLineChangeCmd(cmd: Int): Boolean
fun sendPlanningPullOverCmd(pullOverCmd: Int): Boolean
/**
* 设置座椅压力接口
* @param driver 主驾是否有人

View File

@@ -12,6 +12,7 @@ import com.mogo.eagle.core.data.deva.report.WorkOrderReportInfo
import com.mogo.eagle.core.data.deva.scene.SceneModule
import com.mogo.eagle.core.data.deva.scene.SceneTAG
import com.mogo.eagle.core.data.msgbox.MsgBoxBean
import com.mogo.eagle.core.data.takeover.TakeOverAnnotation
import com.mogo.eagle.core.function.api.devatools.apm.*
import com.mogo.eagle.core.function.api.devatools.block.*
import com.mogo.eagle.core.function.api.devatools.strict.*
@@ -321,4 +322,9 @@ interface IDevaToolsProvider : IProvider {
* 是否开启引导线动效
*/
fun setRouteDynamicColorEnable(enable: Boolean)
/**
* 接管
*/
fun takeOver(@TakeOverAnnotation takeOverAnnotation: Int)
}

View File

@@ -3,8 +3,8 @@ package com.mogo.eagle.core.function.api.setting
/**
* 座椅压力事件监听回调接口
*/
interface ISeatPressureEventListener {
interface ITakeOverEventListener {
fun onUpdateBgEvent(isPress: Boolean){}
fun onTakeOverEvent(isShow: Boolean){}
}