[6.0.0] fix bug of autopilot connect status

This commit is contained in:
zhongchao
2023-08-30 19:30:09 +08:00
parent 06ae16037a
commit 7142122e69
10 changed files with 15 additions and 20 deletions

View File

@@ -479,13 +479,6 @@ object CallerAutoPilotControlManager {
providerApi?.setControlAutopilotCarAuto(isEnable)
}
/**
* 车机与工控机是否连上了
*/
fun isConnected(): Boolean {
return providerApi?.isConnected() ?: false
}
/**
* 查询工控机基础配置信息
*/

View File

@@ -83,7 +83,7 @@ object CallerAutoPilotStatusListenerManager : CallerBase<IMoGoAutopilotStatusLis
return mAutopilotStatusInfo.dockVersion
}
fun getConnectStates():Boolean{
fun isConnect():Boolean{
return mAutopilotStatusInfo.connectStatus
}