[6.5.1]Bus考试合并到主分支

This commit is contained in:
xuxinchao
2024-07-29 16:01:09 +08:00
parent b65c5b3b23
commit fae45e0cd4
10 changed files with 143 additions and 5 deletions

View File

@@ -841,4 +841,18 @@ object CallerAutoPilotControlManager {
fun sendPlanningCmd(cmd: Int): Boolean {
return providerApi?.sendPlanningCmd(cmd) ?: false
}
fun sendPlanningLineChangeCmd(cmd: Int): Boolean {
return providerApi?.sendPlanningLineChangeCmd(cmd) ?: false
}
/**
* 设置座椅压力接口
* @param driver 主驾是否有人
* @param copilot 副驾是否有人
* @param backRow 后排是否有人
*/
fun sendSeatPressure(driver: Boolean,copilot: Boolean,backRow: Boolean): Boolean?{
return providerApi?.sendSeatPressure(driver, copilot, backRow)
}
}