diff --git a/selfdrive/car/honda/interface.py b/selfdrive/car/honda/interface.py index 94647b0851..21b650e648 100755 --- a/selfdrive/car/honda/interface.py +++ b/selfdrive/car/honda/interface.py @@ -113,8 +113,12 @@ class CarInterface(CarInterfaceBase): ret.wheelbase = 2.70 ret.centerToFront = ret.wheelbase * 0.4 ret.steerRatio = 15.38 # 10.93 is end-to-end spec - ret.lateralParams.torqueBP, ret.lateralParams.torqueV = [[0, 4096], [0, 4096]] # TODO: determine if there is a dead zone at the top end - ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.8], [0.24]] + if eps_modified: + ret.lateralParams.torqueBP, ret.lateralParams.torqueV = [[0, 2564, 8000], [0, 2564, 3840]] + ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.3], [0.09]] # 2.5x Modded EPS + else: + ret.lateralParams.torqueBP, ret.lateralParams.torqueV = [[0, 4096], [0, 4096]] # TODO: determine if there is a dead zone at the top end + ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.8], [0.24]] elif candidate in (CAR.ACCORD, CAR.ACCORDH): ret.mass = 3279. * CV.LB_TO_KG diff --git a/selfdrive/car/honda/values.py b/selfdrive/car/honda/values.py index cda4f0a0a2..e703bde8b0 100644 --- a/selfdrive/car/honda/values.py +++ b/selfdrive/car/honda/values.py @@ -638,6 +638,16 @@ FW_VERSIONS = { b'39990-TGG-J510\x00\x00', b'39990-TGL-E130\x00\x00', b'39990-TGN-E120\x00\x00', + # modded EPS bosch civic + b'39990-TBA,C020\x00\x00', + b'39990-TBA,C120\x00\x00', + b'39990-TEA,T820\x00\x00', + b'39990-TEZ,T020\x00\x00', + b'39990-TGG,A020\x00\x00', + b'39990-TGG,A120\x00\x00', + b'39990-TGG,J510\x00\x00', + b'39990-TGL,E130\x00\x00', + b'39990-TGN,E120\x00\x00', ], (Ecu.srs, 0x18da53f1, None): [ b'77959-TBA-A060\x00\x00',