Restore Sanity

AHHHHHHH
This commit is contained in:
firestar5683
2025-05-15 18:19:34 -05:00
parent 9bd0463c64
commit 7c2fa00aec
3 changed files with 8 additions and 4 deletions
+4 -3
View File
@@ -218,9 +218,10 @@ class CarInterfaceBase(ABC):
self.silent_steer_warning = True
self.v_ego_cluster_seen = False
self.CS = CarState(CP, FPCP)
self.cp = self.CS.get_can_parser(CP, FPCP)
self.cp_cam = self.CS.get_cam_can_parser(CP, FPCP)
self.CS = CarState(CP, None)
fp = FPCP if FPCP is not None else getattr(self, "FPCP", None)
self.cp = self.CS.get_can_parser(CP, fp)
self.cp_cam = self.CS.get_cam_can_parser(CP, fp)
self.cp_adas = self.CS.get_adas_can_parser(CP)
self.cp_body = self.CS.get_body_can_parser(CP)
self.cp_loopback = self.CS.get_loopback_can_parser(CP)