Skip to content

Commit

Permalink
Update carcontroller.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dkiiv authored Nov 8, 2024
1 parent 3c2ad0b commit 1d1d1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/volkswagen/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def update(self, CC, CS, now_nanos):
else:
self.EPB_brake = limit_jerk(accel, self.EPB_brake_last, self.long_jerklimit, 0.02) # 0.02 = 50hz
self.EPB_brake_last = self.EPB_brake
self.EPB_enable = 1
self.EPB_enable = 1
else:
acc_control = 0 if acc_control != 6 and self.EPB_enable else acc_control # Pulse ACC status to 0 for one frame
self.EPB_enable = 0
Expand Down

0 comments on commit 1d1d1cf

Please sign in to comment.