card: fix startup condition (#31698)

fix default cc
old-commit-hash: deb79a9c44
pull/32199/head
Justin Newberry 1 year ago committed by GitHub
parent b89fae4aa9
commit 9e54339af7
  1. 2
      selfdrive/car/card.py

@ -31,7 +31,7 @@ class CarD:
self.can_rcv_timeout_counter = 0 # conseuctive timeout count self.can_rcv_timeout_counter = 0 # conseuctive timeout count
self.can_rcv_cum_timeout_counter = 0 # cumulative timeout count self.can_rcv_cum_timeout_counter = 0 # cumulative timeout count
self.CC_prev = car.CarState.new_message() self.CC_prev = car.CarControl.new_message()
self.last_actuators = None self.last_actuators = None

Loading…
Cancel
Save