[6.0.0] fix bug of autopilot connect status

This commit is contained in:
zhongchao
2023-08-30 19:30:09 +08:00
parent 9e83574e43
commit d9390d3fe5
10 changed files with 162 additions and 55 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
}