mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-04 07:13:41 +08:00
Merge branch 'curv_corr' of https://github.com/infiniteCable2/openpilot into curv_corr
This commit is contained in:
@@ -109,7 +109,7 @@ class Controls(ControlsExt, ModelStateBase):
|
||||
|
||||
steer_angle_without_offset = math.radians(CS.steeringAngleDeg - lp.angleOffsetDeg)
|
||||
self.curvature = -self.VM.calc_curvature(steer_angle_without_offset, CS.vEgo, lp.roll)
|
||||
self.roll_compensation = -VM.roll_compensation(lp.roll, CS.vEgo)
|
||||
self.roll_compensation = -self.VM.roll_compensation(lp.roll, CS.vEgo)
|
||||
|
||||
# Update Torque Params
|
||||
if self.CP.lateralTuning.which() == 'torque':
|
||||
|
||||
Reference in New Issue
Block a user