[630][adas] 更新重启接口,添加关机命令接口,添加标定节点启停接口,添加控制前向camera 30节点启停接口,添加控制lidar节点启停接口,添加控制左前radar节点启停接口
This commit is contained in:
@@ -489,7 +489,8 @@ object CallerAutoPilotControlManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送工控机所有节点重启命令
|
||||
* 系统命令请求 重启所有节点
|
||||
* 命令下发存在回执
|
||||
*/
|
||||
fun sendIpcReboot() {
|
||||
if (AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
@@ -497,6 +498,16 @@ object CallerAutoPilotControlManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 系统命令请求 关机
|
||||
* 命令下发存在回执
|
||||
*/
|
||||
fun sendIpcPowerOff(){
|
||||
if (AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)) {//TODO 是否需要判断是不是司机屏?
|
||||
providerApi?.sendIpcPowerOff()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 办公室调试使用,强制开启自动驾驶,将 status,pilotmode,control_pilotmode,强追设置为 1
|
||||
* isEnable = true 开启
|
||||
|
||||
Reference in New Issue
Block a user