modify brake
This commit is contained in:
@@ -77,5 +77,16 @@ object CallerAutopilotVehicleStateListenerManager : CallerBase() {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 车辆刹车根据加速度判断
|
||||
*/
|
||||
@Synchronized
|
||||
fun invokeAutopilotBrakeLightByAcceleration(accrleration: Double) {
|
||||
M_AUTOPILOT_VEHICLE_LISTENERS.forEach {
|
||||
val listener = it.value
|
||||
listener.onAutopilotBrakeLightByAcceleration(accrleration)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user