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