HONDA - fix alt_radar standstill lane blinking (#3261)

Include STEER_GLOBAL_MIN_SPEED in steering_available calc
This commit is contained in:
MVL
2026-03-29 16:48:06 -04:00
committed by GitHub
parent 279d834f65
commit eb3b7eb56c

View File

@@ -224,7 +224,7 @@ class CarController(CarControllerBase):
can_sends.append(hondacan.create_acc_hud(self.packer, self.CAN.pt, self.CP, CC.enabled, pcm_speed, pcm_accel,
hud_control, hud_v_cruise, CS.is_metric, CS.acc_hud))
steering_available = CS.out.cruiseState.available and CS.out.vEgo > self.CP.minSteerSpeed
steering_available = CS.out.cruiseState.available and CS.out.vEgo > max(self.params.STEER_GLOBAL_MIN_SPEED, self.CP.minSteerSpeed)
can_sends.extend(hondacan.create_lkas_hud(self.packer, self.CAN.lkas, self.CP, hud_control, CC.latActive,
steering_available, alert_steer_required, CS.lkas_hud))