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