diff --git a/opendbc/car/toyota/carcontroller.py b/opendbc/car/toyota/carcontroller.py index bb6dc4cfc4..b6138ca882 100644 --- a/opendbc/car/toyota/carcontroller.py +++ b/opendbc/car/toyota/carcontroller.py @@ -39,7 +39,6 @@ def __init__(self, dbc_name, CP): self.distance_button = 0 self.packer = CANPacker(dbc_name) - self.gas = 0 self.accel = 0 def update(self, CC, CS, now_nanos): @@ -173,7 +172,6 @@ def update(self, CC, CS, now_nanos): new_actuators.steerOutputCan = apply_steer new_actuators.steeringAngleDeg = self.last_angle new_actuators.accel = self.accel - new_actuators.gas = self.gas self.frame += 1 return new_actuators, can_sends