mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
Nissan: use raw speed to calculate angle limits (#28097)
use vEgoRaw for calculating limited angle old-commit-hash: cd570033d3ecf52958d26f0fb316dba5a1eb2684
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user