调试窗

增加ADAS日志输出状态初始化状态
This commit is contained in:
xuxinchao
2022-04-18 18:19:35 +08:00
parent 82e0aaa924
commit 00ef4cca6d
4 changed files with 27 additions and 0 deletions

View File

@@ -91,10 +91,22 @@ object CallerAutoPilotManager {
providerApi?.stopRecord(type, id)
}
/**
* 设置是否开启ADAS日志
* @param isEnableLog 是否开启日志
*/
fun setEnableLog(isEnableLog: Boolean) {
providerApi?.setEnableLog(isEnableLog)
}
/**
* ADAS日志开启状态
*/
fun isEnableLog(): Boolean{
return providerApi?.isEnableLog()?:false
}
/**
* speed单位km/h
*/