mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 03:52:11 +08:00
LatControl: remove duplicate logic for saturation (#26725)
this is already checked old-commit-hash: d97336d5326190559d1ff0518daee273f270aaf8
This commit is contained in:
@@ -625,7 +625,7 @@ class Controls:
|
||||
max_torque = abs(self.last_actuators.steer) > 0.99
|
||||
if undershooting and turning and good_speed and max_torque:
|
||||
self.events.add(EventName.steerSaturated)
|
||||
elif lac_log.active and not CS.steeringPressed and lac_log.saturated:
|
||||
elif lac_log.active and lac_log.saturated:
|
||||
dpath_points = lat_plan.dPathPoints
|
||||
if len(dpath_points):
|
||||
# Check if we deviated from the path
|
||||
|
||||
Reference in New Issue
Block a user