remove comments

pull/24875/head
Shane Smiskol 3 years ago
parent 346bd8147e
commit 53dc1018f1
  1. 1
      selfdrive/car/gm/carcontroller.py
  2. 1
      selfdrive/car/gm/carstate.py

@ -81,7 +81,6 @@ class CarController:
near_stop = CC.longActive and (CS.out.vEgo < self.params.NEAR_STOP_BRAKE_PHASE) near_stop = CC.longActive and (CS.out.vEgo < self.params.NEAR_STOP_BRAKE_PHASE)
# GasRegenCmdActive needs to be 1 to avoid cruise faults. It describes the ACC state, not actuation # GasRegenCmdActive needs to be 1 to avoid cruise faults. It describes the ACC state, not actuation
can_sends.append(gmcan.create_gas_regen_command(self.packer_pt, CanBus.POWERTRAIN, self.apply_gas, idx, CC.enabled, at_full_stop)) can_sends.append(gmcan.create_gas_regen_command(self.packer_pt, CanBus.POWERTRAIN, self.apply_gas, idx, CC.enabled, at_full_stop))
# Vehicles with factory camera-based ACC expect friction brake on PT
can_sends.append(gmcan.create_friction_brake_command(self.packer_ch, CanBus.CHASSIS, self.apply_brake, idx, near_stop, at_full_stop)) can_sends.append(gmcan.create_friction_brake_command(self.packer_ch, CanBus.CHASSIS, self.apply_brake, idx, near_stop, at_full_stop))
# Send dashboard UI commands (ACC status) # Send dashboard UI commands (ACC status)

@ -140,7 +140,6 @@ class CarState(CarStateBase):
] ]
checks = [ checks = [
# TODO: does this still need to be 0?
("ASCMLKASteeringCmd", 10), # 10 Hz is the stock inactive rate (every 100ms). ("ASCMLKASteeringCmd", 10), # 10 Hz is the stock inactive rate (every 100ms).
# While active 50 Hz (every 20 ms) is normal # While active 50 Hz (every 20 ms) is normal
# EPS will tolerate around 200ms when active before faulting # EPS will tolerate around 200ms when active before faulting

Loading…
Cancel
Save