      if CP.carFingerprint in PREGLOBAL_CARS:
        signals += [
          ("LKA_Lockout", "Steering_Torque", 0),
        ]
        checks += [
          ("CruiseControl", 50),
        ]
      else:
        signals += [
          ("Steer_Error_1", "Steering_Torque", 0),
          ("Steer_Warning", "Steering_Torque", 0),
        ]
 
</s> remove     # UDM Legacy: mph = 0
    if self.car_fingerprint == CAR.LEGACY_PREGLOBAL and cp.vl["Dash_State"]['Units'] == 0:
 </s> add     # UDM Forester, Legacy: mph = 0
    if self.car_fingerprint in [CAR.FORESTER_PREGLOBAL, CAR.LEGACY_PREGLOBAL] and cp.vl["Dash_State"]['Units'] == 0: </s> remove     # EDM Global: mph = 1, 2; UDM Forester: 7 = mph
    elif self.car_fingerprint != CAR.LEGACY_PREGLOBAL and cp.vl["Dash_State"]['Units'] in [1, 2, 7]:
 </s> add     # EDM Global: mph = 1, 2; All Outback: mph = 1, UDM Forester: mph = 7
    elif self.car_fingerprint not in [CAR.FORESTER_PREGLOBAL, CAR.LEGACY_PREGLOBAL] and cp.vl["Dash_State"]['Units'] in [1, 2, 7]:
      if CP.carFingerprint in PREGLOBAL_CARS:
        signals += [
          ("LKA_Lockout", "Steering_Torque", 0),
        ]



      else:
        signals += [
          ("Steer_Error_1", "Steering_Torque", 0),
          ("Steer_Warning", "Steering_Torque", 0),
        ]
keep keep keep keep replace replace replace keep keep keep keep keep
 Add preglobal Subaru Forester and Outback (#1993)

* Add preglobal Forester and Outback

* Tests and values cleanup

* Update units in carstate

* Remove ()

* Add OUTBACK_PREGLOBAL_2018 to non_tested_cars

* Add replay route for OUTBACK_PREGLOBAL_2018 
selfdrive/car/subaru/carstate.py