pull/31550/head
Justin Newberry 2 years ago
parent 2ca53bd076
commit 830bdc1c26
  1. 7
      selfdrive/car/subaru/interface.py

@ -40,9 +40,10 @@ class CarInterface(CarInterfaceBase):
else:
CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning)
ret.mass = candidate.config.specs.mass
ret.wheelbase = candidate.config.specs.wheelbase
ret.steerRatio = candidate.config.specs.steerRatio
platform_config = CAR(candidate).config
ret.mass = platform_config.specs.mass
ret.wheelbase = platform_config.specs.wheelbase
ret.steerRatio = platform_config.specs.steerRatio
ret.centerToFront = ret.wheelbase * 0.5
if candidate in (CAR.ASCENT, CAR.ASCENT_2023):

Loading…
Cancel
Save