Subaru: longitudinal incorrect "inactive" rpm (#29496)

* fix incorrect base rpm issue

* "min" name is better
pull/29512/head
Justin Newberry 2 years ago committed by GitHub
parent bfa714ef3b
commit b20eba5f1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/car/subaru/carcontroller.py

@ -55,7 +55,7 @@ class CarController:
cruise_brake = clip(apply_brake, CarControllerParams.BRAKE_MIN, CarControllerParams.BRAKE_MAX)
else:
cruise_throttle = CarControllerParams.THROTTLE_INACTIVE
cruise_rpm = CarControllerParams.RPM_INACTIVE
cruise_rpm = CarControllerParams.RPM_MIN
cruise_brake = CarControllerParams.BRAKE_MIN
# *** alerts and pcm cancel ***

Loading…
Cancel
Save