check all checks for carControl in case controlsd dies

pull/32380/head
Shane Smiskol 1 year ago
parent f589f12331
commit 5593ae8a7d
  1. 1
      selfdrive/car/card.py

@ -130,6 +130,7 @@ class Car:
def controls_update(self, CS: car.CarState, CC: car.CarControl):
"""control update loop, driven by carControl"""
if self.sm.all_checks(['carControl']):
# send car controls over can
now_nanos = self.can_log_mono_time if REPLAY else int(time.monotonic() * 1e9)
# TODO: CC shouldn't be builder

Loading…
Cancel
Save