From 76ba8fe22b10ed0c5fbb7b42fadb1b0a2d990fd3 Mon Sep 17 00:00:00 2001 From: DevTekVE Date: Mon, 6 Jan 2025 23:36:32 +0100 Subject: [PATCH] Method not available anymore on OP --- sunnypilot/modeld/modeld.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sunnypilot/modeld/modeld.py b/sunnypilot/modeld/modeld.py index 5a41337a04..9b85cb0846 100755 --- a/sunnypilot/modeld/modeld.py +++ b/sunnypilot/modeld/modeld.py @@ -17,7 +17,6 @@ from openpilot.common.realtime import config_realtime_process from openpilot.common.transformations.camera import DEVICE_CAMERAS from openpilot.common.transformations.model import get_warp_matrix from openpilot.system import sentry -from openpilot.selfdrive.car.card import convert_to_capnp from openpilot.selfdrive.controls.lib.desire_helper import DesireHelper from openpilot.sunnypilot.modeld.runners import ModelRunner, Runtime from openpilot.sunnypilot.modeld.parse_model_outputs import Parser @@ -171,7 +170,7 @@ def main(demo=False): if demo: - CP = convert_to_capnp(get_demo_car_params()) + CP =get_demo_car_params() else: CP = messaging.log_from_bytes(params.get("CarParams", block=True), car.CarParams)