[2.14.0][adas lib] 添加BUS R档不能启动自动驾驶拦截

This commit is contained in:
xinfengkun
2023-02-17 15:10:03 +08:00
parent 2d25a59b1c
commit 9b2c36c583

View File

@@ -183,7 +183,7 @@ public class AutopilotAbilityManager {
Chassis.GearPosition gear = chassisStates.getGearSystemStates().getGearPosition();
//金旅Bus和清扫车 档位不正常
if (isBus(identityMode)) {
if (gear == Chassis.GearPosition.GEAR_N) {
if (gear == Chassis.GearPosition.GEAR_N || gear == Chassis.GearPosition.GEAR_R) {
isAutopilotAbility = false;
unableAutopilotReason = "挡位不正常";
}