|
|
@ -113,7 +113,7 @@ class CarController: |
|
|
|
else: |
|
|
|
else: |
|
|
|
# Silence "Take Steering" alert sent by camera, forward PSCMStatus with HandsOffSWlDetectionStatus=1 |
|
|
|
# Silence "Take Steering" alert sent by camera, forward PSCMStatus with HandsOffSWlDetectionStatus=1 |
|
|
|
if self.frame % 10 == 0: |
|
|
|
if self.frame % 10 == 0: |
|
|
|
can_sends.append(gmcan.create_pscm_status(self.packer_pt, CS.pscm_status, CS.pscm_status_counter)) |
|
|
|
can_sends.append(gmcan.create_pscm_status(self.packer_pt, CS.pscm_status)) |
|
|
|
|
|
|
|
|
|
|
|
# Stock longitudinal, integrated at camera |
|
|
|
# Stock longitudinal, integrated at camera |
|
|
|
if (self.frame - self.last_button_frame) * DT_CTRL > 0.04: |
|
|
|
if (self.frame - self.last_button_frame) * DT_CTRL > 0.04: |
|
|
|