controls: add curvature to actuators (#27108)

* Add curvature to actuators

* Use it in CC

* revert ford stuff

* Update ref_commit
pull/27110/head
Shane Smiskol 2 years ago committed by GitHub
parent 4f4f4afe8a
commit ad5b3ea410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      selfdrive/controls/controlsd.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -606,6 +606,7 @@ class Controls:
actuators.steer, actuators.steeringAngleDeg, lac_log = self.LaC.update(CC.latActive, CS, self.VM, lp, actuators.steer, actuators.steeringAngleDeg, lac_log = self.LaC.update(CC.latActive, CS, self.VM, lp,
self.last_actuators, self.steer_limited, self.desired_curvature, self.last_actuators, self.steer_limited, self.desired_curvature,
self.desired_curvature_rate, self.sm['liveLocationKalman']) self.desired_curvature_rate, self.sm['liveLocationKalman'])
actuators.curvature = self.desired_curvature
else: else:
lac_log = log.ControlsState.LateralDebugState.new_message() lac_log = log.ControlsState.LateralDebugState.new_message()
if self.sm.rcv_frame['testJoystick'] > 0: if self.sm.rcv_frame['testJoystick'] > 0:

@ -1 +1 @@
3639e42ed538ee5d94ec2572cf27af6260633fad 634d4ff195345a4a2508e497744aa08addec9237

Loading…
Cancel
Save