From 17f7e979286da8ed42efd055c1d2ad87c9609ade Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 28 Jun 2023 15:20:04 -0700 Subject: [PATCH] remove super old debugging comment --- selfdrive/car/toyota/carcontroller.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/selfdrive/car/toyota/carcontroller.py b/selfdrive/car/toyota/carcontroller.py index 2537208731..52eb543dfd 100644 --- a/selfdrive/car/toyota/carcontroller.py +++ b/selfdrive/car/toyota/carcontroller.py @@ -40,6 +40,7 @@ class CarController: pcm_cancel_cmd = CC.cruiseControl.cancel lat_active = CC.latActive and abs(CS.out.steeringTorque) < MAX_USER_TORQUE + # *** control msgs *** can_sends = [] # steer torque @@ -111,9 +112,6 @@ class CarController: self.last_standstill = CS.out.standstill - # *** control msgs *** - # print("steer {0} {1} {2} {3}".format(apply_steer, min_lim, max_lim, CS.steer_torque_motor) - # we can spam can to cancel the system even if we are using lat only control if (self.frame % 3 == 0 and self.CP.openpilotLongitudinalControl) or pcm_cancel_cmd: lead = hud_control.leadVisible or CS.out.vEgo < 12. # at low speed we always assume the lead is present so ACC can be engaged