Skip to content

Commit

Permalink
toyota doesn't have gas
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh authored Sep 13, 2024
1 parent 56c7afa commit 2b85882
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions opendbc/car/toyota/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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

0 comments on commit 2b85882

Please sign in to comment.