From 2b85882c51a7f7b4f1279f03d39ef6d9e2413c30 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 12 Sep 2024 17:03:18 -0700 Subject: [PATCH] toyota doesn't have gas --- opendbc/car/toyota/carcontroller.py | 2 -- 1 file changed, 2 deletions(-) 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