Skip to content

Commit 80f661b

Browse files
committed
fix: frenet optimal trajectory type check
1 parent fde87a0 commit 80f661b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PathPlanning/FrenetOptimalTrajectory/frenet_optimal_trajectory.py

+2
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ def calc_destination_cost(self, fp):
310310
ds = (STOP_S - fp.s[-1]) ** 2
311311
return K_S * ds
312312

313+
LATERAL_MOVEMENT_STRATEGY: LateralMovementStrategy
314+
LONGITUDINAL_MOVEMENT_STRATEGY: LongitudinalMovementStrategy
313315

314316
if LATERAL_MOVEMENT == LateralMovement.HighSpeed:
315317
LATERAL_MOVEMENT_STRATEGY = HighSpeedLateralMovementStrategy()

0 commit comments

Comments
 (0)