Skip to content

Commit

Permalink
card: remove unused CS_prev variable (#33796)
Browse files Browse the repository at this point in the history
remove unused CS_prev variable
  • Loading branch information
deanlee authored Oct 15, 2024
1 parent af727d4 commit ebe0dee
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions selfdrive/car/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ def __init__(self, CI=None, RI=None) -> None:
self.can_rcv_cum_timeout_counter = 0

self.CC_prev = car.CarControl.new_message()
self.CS_prev = car.CarState.new_message()
self.initialized_prev = False

self.last_actuators_output = structs.CarControl.Actuators()
Expand Down Expand Up @@ -250,7 +249,6 @@ def step(self):
self.controls_update(CS, self.sm['carControl'])

self.initialized_prev = initialized
self.CS_prev = CS.as_reader()

def params_thread(self, evt):
while not evt.is_set():
Expand Down

0 comments on commit ebe0dee

Please sign in to comment.