Honda: allow sport gear (#35911)

add honda sport gear
pull/35700/head
mvl-boston 2 weeks ago committed by GitHub
parent aecb6d13e7
commit bae7a610fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      selfdrive/car/car_specific.py

@ -57,7 +57,7 @@ class CarSpecificEvents:
events.add(EventName.belowSteerSpeed) events.add(EventName.belowSteerSpeed)
elif self.CP.brand == 'honda': elif self.CP.brand == 'honda':
events = self.create_common_events(CS, CS_prev, pcm_enable=False) events = self.create_common_events(CS, CS_prev, extra_gears=[GearShifter.sport], pcm_enable=False)
if self.CP.pcmCruise and CS.vEgo < self.CP.minEnableSpeed: if self.CP.pcmCruise and CS.vEgo < self.CP.minEnableSpeed:
events.add(EventName.belowEngageSpeed) events.add(EventName.belowEngageSpeed)

Loading…
Cancel
Save