From f6608a49e8c991827225b775a70bd6ff72f04997 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 9 May 2024 15:15:56 -0700 Subject: [PATCH] gate carOutput valid on carControl valid --- selfdrive/car/card.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/card.py b/selfdrive/car/card.py index d025db93a9..ed6d845567 100755 --- a/selfdrive/car/card.py +++ b/selfdrive/car/card.py @@ -123,7 +123,7 @@ class Car: # publish new carOutput co_send = messaging.new_message('carOutput') - co_send.valid = True + co_send.valid = self.sm.all_checks(['carControl']) if self.last_actuators is not None: co_send.carOutput.actuatorsOutput = self.last_actuators self.pm.send('carOutput', co_send)