card: fix startup condition (#31698)

fix default cc
pull/31709/head
Justin Newberry 1 year ago committed by GitHub
parent 09e73f8fb6
commit deb79a9c44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  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