fix circular import reported by LGTM

pull/1481/head
Adeeb Shihadeh 5 years ago
parent df238560f4
commit 48dec51f0e
  1. 3
      selfdrive/controls/lib/vehicle_model.py

@ -197,6 +197,7 @@ class VehicleModel():
if __name__ == '__main__': if __name__ == '__main__':
"""
import math import math
from selfdrive.car.honda.interface import CarInterface from selfdrive.car.honda.interface import CarInterface
from selfdrive.car.honda.values import CAR from selfdrive.car.honda.values import CAR
@ -204,3 +205,5 @@ if __name__ == '__main__':
CP = CarInterface.get_params(CAR.CIVIC) CP = CarInterface.get_params(CAR.CIVIC)
VM = VehicleModel(CP) VM = VehicleModel(CP)
print(VM.yaw_rate(math.radians(20), 10.)) print(VM.yaw_rate(math.radians(20), 10.))
"""
pass

Loading…
Cancel
Save