Update interfaces.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
pull/23538/head
Jason Wen 3 years ago committed by GitHub
parent 99cf13caeb
commit 04c0ad1a54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/car/interfaces.py

@ -33,7 +33,7 @@ class CarInterfaceBase(ABC):
self.steering_unpressed = 0 self.steering_unpressed = 0
self.low_speed_alert = False self.low_speed_alert = False
self.silent_steer_warning = True self.silent_steer_warning = True
self.disengage_on_gas = Params().get("DisengageOnGas", encoding='utf8') self.disengage_on_gas = Params().get_bool("DisengageOnGas")
if CarState is not None: if CarState is not None:
self.CS = CarState(CP) self.CS = CarState(CP)

Loading…
Cancel
Save