Nissan: use raw speed to calculate angle limits (#28097)

use vEgoRaw for calculating limited angle
old-commit-hash: cd570033d3
beeps
Shane Smiskol 2 years ago committed by GitHub
parent 851d21cdff
commit ebb698b430
  1. 2
      selfdrive/car/nissan/carcontroller.py

@ -30,7 +30,7 @@ class CarController:
if CC.latActive:
# windup slower
apply_angle = apply_std_steer_angle_limits(actuators.steeringAngleDeg, self.apply_angle_last, CS.out.vEgo, CarControllerParams)
apply_angle = apply_std_steer_angle_limits(actuators.steeringAngleDeg, self.apply_angle_last, CS.out.vEgoRaw, CarControllerParams)
# Max torque from driver before EPS will give up and not apply torque
if not bool(CS.out.steeringPressed):

Loading…
Cancel
Save