Skip to content

Commit 453c25e

Browse files
authored
Add root directory to system path for lattice planner (#1221)
1 parent c905175 commit 453c25e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PathPlanning/StateLatticePlanner/state_lattice_planner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
import numpy as np
2323
import math
2424
import pathlib
25+
2526
sys.path.append(str(pathlib.Path(__file__).parent.parent))
27+
sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))
2628

2729
import ModelPredictiveTrajectoryGenerator.trajectory_generator as planner
2830
import ModelPredictiveTrajectoryGenerator.motion_model as motion_model

0 commit comments

Comments
 (0)