[6.4.0][启自驾指引] 添加下载状态ui
This commit is contained in:
@@ -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还未和工控机连接
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user