mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
planner: fix undeclared variable (#26468)
* undeclared variable * run first second disabled * revert test * rev old-commit-hash: 98206fb92e6a071127f6d6e4fec456d0c437444f
This commit is contained in:
@@ -107,6 +107,7 @@ class LongitudinalPlanner:
|
||||
accel_limits = [A_CRUISE_MIN, get_max_accel(v_ego)]
|
||||
accel_limits_turns = limit_accel_in_turns(v_ego, sm['carState'].steeringAngleDeg, accel_limits, self.CP)
|
||||
else:
|
||||
accel_limits = [MIN_ACCEL, MAX_ACCEL]
|
||||
accel_limits_turns = [MIN_ACCEL, MAX_ACCEL]
|
||||
|
||||
if reset_state:
|
||||
|
||||
Reference in New Issue
Block a user