This commit is contained in:
infiniteCable2
2025-08-11 17:09:38 +02:00
parent b2dfbefdee
commit 383a8de7d5
2 changed files with 2 additions and 3 deletions

View File

@@ -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

View File

@@ -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