[670][data-center] 新增接管状态回调

This commit is contained in:
xinfengkun
2024-09-24 16:27:40 +08:00
parent 090641f250
commit 87e80dd847
3 changed files with 133 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package com.mogo.eagle.core.function.api.autopilot
/**
* 接管状态回调
*/
interface IMoGoTakeoverListener {
/**
* 接管状态
* @param state 0:未接管,1:油门接管,2:刹车接管,3:方向盘接管,4:遥控器接管,5:远程人工接管,6:硬件开关接管,7:软件接管,8:云端计算机接管,9:其他接管方式,255:缺省(鹰眼中表示数据异常)
*/
fun onTakeoverState(state: Int)
}