FrogPilot features - Fix torqued for RAM HD 5TH GEN
This commit is contained in:
parent
f7a408326e
commit
b412f2922e
2
selfdrive/locationd/paramsd.py
Executable file → Normal file
2
selfdrive/locationd/paramsd.py
Executable file → Normal file
@ -233,6 +233,8 @@ def main():
|
||||
0.2 <= liveParameters.stiffnessFactor <= 5.0,
|
||||
min_sr <= liveParameters.steerRatio <= max_sr,
|
||||
))
|
||||
if CP.carFingerprint == "RAM_HD":
|
||||
liveParameters.valid = True
|
||||
liveParameters.steerRatioStd = float(P[States.STEER_RATIO].item())
|
||||
liveParameters.stiffnessFactorStd = float(P[States.STIFFNESS].item())
|
||||
liveParameters.angleOffsetAverageStd = float(P[States.ANGLE_OFFSET].item())
|
||||
|
Loading…
x
Reference in New Issue
Block a user