mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-08 23:22:04 +08:00
controls: add curvature to actuators (#27108)
* Add curvature to actuators * Use it in CC * revert ford stuff * Update ref_commit old-commit-hash: ad5b3ea410425d8d5d929e626a626c8d868ecdff
This commit is contained in:
@@ -606,6 +606,7 @@ class Controls:
|
||||
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.desired_curvature_rate, self.sm['liveLocationKalman'])
|
||||
actuators.curvature = self.desired_curvature
|
||||
else:
|
||||
lac_log = log.ControlsState.LateralDebugState.new_message()
|
||||
if self.sm.rcv_frame['testJoystick'] > 0:
|
||||
|
||||
@@ -1 +1 @@
|
||||
3639e42ed538ee5d94ec2572cf27af6260633fad
|
||||
634d4ff195345a4a2508e497744aa08addec9237
|
||||
|
||||
Reference in New Issue
Block a user