From a5865d7a69b965fa534c453ff2742b7f1cf886f8 Mon Sep 17 00:00:00 2001 From: kegman <8837066+kegman@users.noreply.github.com> Date: Thu, 25 Apr 2019 23:14:59 -0400 Subject: [PATCH] Fix travis-ci errors / warnings --- selfdrive/car/gm/carcontroller.py | 2 +- selfdrive/car/gm/interface.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/selfdrive/car/gm/carcontroller.py b/selfdrive/car/gm/carcontroller.py index c89ff0a94a1012..dc9159de3bfb22 100644 --- a/selfdrive/car/gm/carcontroller.py +++ b/selfdrive/car/gm/carcontroller.py @@ -4,7 +4,7 @@ from selfdrive.boardd.boardd import can_list_to_can_capnp from selfdrive.car import apply_std_steer_torque_limits from selfdrive.car.gm import gmcan -from selfdrive.car.gm.values import CAR, DBC, AccState, SUPERCRUISE_CARS +from selfdrive.car.gm.values import DBC, AccState, SUPERCRUISE_CARS from selfdrive.can.packer import CANPacker diff --git a/selfdrive/car/gm/interface.py b/selfdrive/car/gm/interface.py index a4985b8d97bfd9..a2865bc75d66f7 100755 --- a/selfdrive/car/gm/interface.py +++ b/selfdrive/car/gm/interface.py @@ -1,11 +1,10 @@ #!/usr/bin/env python from cereal import car from common.realtime import sec_since_boot -from common.numpy_fast import clip, interp +from common.numpy_fast import interp from selfdrive.config import Conversions as CV from selfdrive.controls.lib.drive_helpers import create_event, EventTypes as ET from selfdrive.controls.lib.vehicle_model import VehicleModel -from selfdrive.controls.lib.planner import _A_CRUISE_MAX_V_FOLLOWING from selfdrive.car.gm.values import DBC, CAR, STOCK_CONTROL_MSGS, AUDIO_HUD, SUPERCRUISE_CARS from selfdrive.car.gm.carstate import CarState, CruiseButtons, get_powertrain_can_parser, get_chassis_can_parser