[3.4.0] add func of door state invoke
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package com.mogo.eagle.core.function.api.autopilot
|
||||
|
||||
import chassis.Chassis.DoorNumber
|
||||
import chassis.VehicleStateOuterClass
|
||||
|
||||
/**
|
||||
* 车门数据 回调监听
|
||||
*/
|
||||
interface IMoGoChassisDoorStateListener {
|
||||
|
||||
/**
|
||||
* 车门状态集合 底盘HZ
|
||||
*/
|
||||
fun onAutopilotDoorState(doorList: MutableList<VehicleStateOuterClass.DoorStateV2>) {}
|
||||
|
||||
/**
|
||||
* 单个车门状态回调(变化回调)
|
||||
* @param num 枚举 taxi(前左/右,后左/右) / bus(中)
|
||||
* @param open true:开门(1), false:关门(0)
|
||||
*/
|
||||
fun onAutopilotSingleDoorState(num:DoorNumber, open:Boolean){}
|
||||
}
|
||||
Reference in New Issue
Block a user