Skip to content

Commit

Permalink
vaggy hack to stop jerk
Browse files Browse the repository at this point in the history
  • Loading branch information
Casey Francis authored and Casey Francis committed Aug 23, 2021
1 parent 87328dd commit 5c48f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/honda/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def update(self, enabled, CS, frame, actuators,
starting = accel > 0 and CS.out.vEgo < 0.3

# Prevent rolling backwards
accel = -1.0 if stopping else accel
#accel = -1.0 if stopping else accel
if CS.CP.carFingerprint in HONDA_BOSCH:
apply_accel = interp(accel, P.BOSCH_ACCEL_LOOKUP_BP, P.BOSCH_ACCEL_LOOKUP_V)
else:
Expand Down

0 comments on commit 5c48f3e

Please sign in to comment.