[状态栏]Can数据状态获取逻辑优化

This commit is contained in:
renwj
2022-05-27 17:00:56 +08:00
parent 86c21ddf07
commit 430328ea7f
21 changed files with 92 additions and 68 deletions

View File

@@ -36,9 +36,9 @@ interface IMoGoAutopilotStatusListener {
fun onAutopilotGuardian(guardianInfo: MogoReportMsg.MogoReportMessage?) {}
/**
* 工控机底盘没有返回数据
* 工控机连接状态回调
*/
fun onAutopilotNotData(timestamp: Long) {}
fun onAutopilotIpcConnectStatusChanged(status: Int, reason: String?) {}
companion object {

View File

@@ -31,8 +31,9 @@ interface IMoGoAutopilotVehicleStateListener {
*/
fun onAutopilotGearData(gear: Chassis.GearPosition)
/**
* 底盘没有返回数据
* 没有自车状态数据
*/
fun onAutopilotNotData(timestamp: Long)
fun onAutopilotDataException(timestamp: Long){}
}