every 5 seconds

pull/26010/head
Shane Smiskol 3 years ago
parent 2ed73294f6
commit dfdd70f479
  1. 4
      selfdrive/car/gm/carcontroller.py

@ -111,8 +111,8 @@ class CarController:
can_sends += gmcan.create_adas_keepalive(CanBus.POWERTRAIN)
else:
# Silence "Take Steering" alert sent by camera, forward PSCMStatus with HandsOffSWlDetectionStatus=1
if self.frame % 10 == 0:
# Silence "Take Steering" alert sent by camera, send PSCMStatus with HandsOffSWlDetectionStatus=1
if self.frame % 500 == 0:
can_sends.append(gmcan.create_pscm_status(self.packer_pt, CS.pscm_status))
# Stock longitudinal, integrated at camera

Loading…
Cancel
Save