|
|
|
@ -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): |
|
|
|
|