|
|
@ -10,10 +10,6 @@ EventName = car.CarEvent.EventName |
|
|
|
|
|
|
|
|
|
|
|
class CarInterface(CarInterfaceBase): |
|
|
|
class CarInterface(CarInterfaceBase): |
|
|
|
|
|
|
|
|
|
|
|
@staticmethod |
|
|
|
|
|
|
|
def compute_gb(accel, speed): |
|
|
|
|
|
|
|
return float(accel) / 4.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@staticmethod |
|
|
|
@staticmethod |
|
|
|
def get_params(candidate, fingerprint=gen_empty_fingerprint(), car_fw=None, experimental_long=False): |
|
|
|
def get_params(candidate, fingerprint=gen_empty_fingerprint(), car_fw=None, experimental_long=False): |
|
|
|
ret = CarInterfaceBase.get_std_params(candidate, fingerprint) |
|
|
|
ret = CarInterfaceBase.get_std_params(candidate, fingerprint) |
|
|
|