Skip to content

Commit

Permalink
VW PQ: fix where ACC_System is pulled from
Browse files Browse the repository at this point in the history
  • Loading branch information
dkiiv committed Dec 4, 2024
1 parent ac0be8e commit 5d99c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/volkswagen/carstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def update_pq(self, pt_cp, cam_cp, ext_cp, trans_type):
if ret.cruiseState.speed > 70: # 255 kph in m/s == no current setpoint
ret.cruiseState.speed = 0

self.acc_sys_stock = pt_cp.vl["ACC_System"]
self.acc_sys_stock = ext_cp.vl["ACC_System"]
self.motor2_stock = pt_cp.vl["Motor_2"]
self.bremse8_stock = pt_cp.vl["Bremse_8"]
self.bremse11_stock = pt_cp.vl["Bremse_11"]
Expand Down

0 comments on commit 5d99c89

Please sign in to comment.