Permalink
Browse files

Eliminate brake oscillations and grinding / crunching / ripping sound…

… when using Pedal (Honda Pilot Only) (#475)

* Eliminate brake oscillations when using Pedal

* Simplified code

* syntax error fix

* Grinding code as applied to Honda Pilot only 

Each model may need its own setting due to USER_BRAKE noise disengagements

* correction: self.CP.carFingerprint instead of CP.carFingerprint

* Add Ridgeline to Pedal Grinding fix

Confirmed to work also on Ridgeline
  • Loading branch information...
kegman authored and rbiasini committed Feb 5, 2019
1 parent 2c9d5af commit ee35b905d7407925fcea7eb616309ad3c8bd1c8a
Showing with 5 additions and 1 deletion.
  1. +5 −1 selfdrive/car/honda/carstate.py
@@ -303,7 +303,11 @@ def update(self, cp, cp_cam):
self.user_brake = cp.vl["VSA_STATUS"]['USER_BRAKE']
self.pcm_acc_status = cp.vl["POWERTRAIN_DATA"]['ACC_STATUS']
self.hud_lead = cp.vl["ACC_HUD"]['HUD_LEAD']


# gets rid of Pedal Grinding noise when brake is pressed at slow speeds for some models
if self.CP.carFingerprint in (CAR.PILOT, CAR.PILOT_2019, CAR.RIDGELINE):
if self.user_brake > 0.05:
self.brake_pressed = 1

# carstate standalone tester
if __name__ == '__main__':

0 comments on commit ee35b90

Please sign in to comment.