From 51fd6728f1091d6a8c9753a85fad761d6c42c5c6 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 2 Dec 2023 22:35:51 -0800 Subject: [PATCH] not ready for this one yet --- messaging/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/messaging/__init__.py b/messaging/__init__.py index 1348bf0..041fa88 100644 --- a/messaging/__init__.py +++ b/messaging/__init__.py @@ -189,7 +189,8 @@ class SubMaster: self.data[s] = getattr(data.as_reader(), s) self.logMonoTime[s] = 0 - self.valid[s] = data.valid + # TODO: this should default to False + self.valid[s] = True def __getitem__(self, s: str) -> capnp.lib.capnp._DynamicStructReader: return self.data[s]