From 383a8de7d5b9285e4b71ada8ea55e59a712fe8fd Mon Sep 17 00:00:00 2001 From: infiniteCable2 Date: Mon, 11 Aug 2025 17:09:38 +0200 Subject: [PATCH] fix --- opendbc/car/__init__.py | 1 - opendbc/car/lateral.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/opendbc/car/__init__.py b/opendbc/car/__init__.py index d37e5ef2..e0ccf490 100644 --- a/opendbc/car/__init__.py +++ b/opendbc/car/__init__.py @@ -3,7 +3,6 @@ import numpy as np from dataclasses import dataclass, field from enum import IntFlag, ReprEnum, StrEnum, EnumType, auto from dataclasses import replace -from typing import Tuple from opendbc.car import structs, uds from opendbc.car.can_definitions import CanData diff --git a/opendbc/car/lateral.py b/opendbc/car/lateral.py index bd684cec..b5bf4d58 100644 --- a/opendbc/car/lateral.py +++ b/opendbc/car/lateral.py @@ -1,11 +1,11 @@ import math import numpy as np from dataclasses import dataclass -from opendbc.car import structs, rate_limit, DT_CTRL +from opendbc.car import structs, rate_limit, DT_CTRL, ACCELERATION_DUE_TO_GRAVITY from opendbc.car.vehicle_model import VehicleModel +from typing import Tuple FRICTION_THRESHOLD = 0.3 -ACCELERATION_DUE_TO_GRAVITY = 9.81 # m/s^2 # ISO 11270 ISO_LATERAL_ACCEL = 3.0 # m/s^2