[6.4.0][启自驾指引] 添加下载状态ui

This commit is contained in:
renwj
2024-04-18 16:37:58 +08:00
parent dfd4a016f7
commit 033df02a24
20 changed files with 337 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
package com.mogo.eagle.core.function.api.autopilot
import com.mogo.eagle.core.data.autopilot.AutopilotControlParameters
import com.zhjt.mogo.adas.data.AdasConstants
import mogo.telematics.pad.MessagePad
import mogo_msg.MogoReportMsg
@@ -71,6 +72,11 @@ interface IMoGoAutopilotStatusListener {
*/
fun onAutopilotRouteLineId(lineId: Long){}
/**
* 自驾路线触发下载请求回调
*/
fun onAutopilotTrajectoryDownloadReq(autoPilotLine: AutopilotControlParameters.AutoPilotLine, downloadType: Int) { }
companion object {
/**
* 不可自动驾驶目前场景是刚开机adas还未和工控机连接

View File

@@ -295,4 +295,8 @@ interface IDevaToolsProvider : IProvider {
fun attachAutopilotStatusView(ctx: Context, group: ViewGroup)
fun getExceptionStatusBeforeLaunchAutopilot(): Int
fun registerRouteDownloadListener(tag: String, block:(state: Int) -> Unit)
fun unRegisterRouteDownloadListener(tag: String)
}