|
|
@ -16,6 +16,7 @@ from openpilot.common.realtime import config_realtime_process |
|
|
|
from openpilot.common.transformations.camera import DEVICE_CAMERAS |
|
|
|
from openpilot.common.transformations.camera import DEVICE_CAMERAS |
|
|
|
from openpilot.common.transformations.model import get_warp_matrix |
|
|
|
from openpilot.common.transformations.model import get_warp_matrix |
|
|
|
from openpilot.system import sentry |
|
|
|
from openpilot.system import sentry |
|
|
|
|
|
|
|
from openpilot.selfdrive.car.card import convert_to_capnp |
|
|
|
from openpilot.selfdrive.car.car_helpers import get_demo_car_params |
|
|
|
from openpilot.selfdrive.car.car_helpers import get_demo_car_params |
|
|
|
from openpilot.selfdrive.controls.lib.desire_helper import DesireHelper |
|
|
|
from openpilot.selfdrive.controls.lib.desire_helper import DesireHelper |
|
|
|
from openpilot.selfdrive.modeld.runners import ModelRunner, Runtime |
|
|
|
from openpilot.selfdrive.modeld.runners import ModelRunner, Runtime |
|
|
@ -170,7 +171,7 @@ def main(demo=False): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if demo: |
|
|
|
if demo: |
|
|
|
CP = get_demo_car_params() |
|
|
|
CP = convert_to_capnp(get_demo_car_params()) |
|
|
|
else: |
|
|
|
else: |
|
|
|
CP = messaging.log_from_bytes(params.get("CarParams", block=True), car.CarParams) |
|
|
|
CP = messaging.log_from_bytes(params.get("CarParams", block=True), car.CarParams) |
|
|
|
|
|
|
|
|
|
|
|