mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-14 04:42:07 +08:00
planner: fix undeclared variable (#26468)
* undeclared variable
* run first second disabled
* revert test
* rev
old-commit-hash: 98206fb92e
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