Skip to content

Commit d9745ee

Browse files
committed
fix "ModuleNotFoundError: No module named 'utils'"
1 parent 1308e76 commit d9745ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PathTracking/lqr_steer_control/lqr_steer_control.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
import numpy as np
1212
import sys
1313
import pathlib
14-
from utils.angle import angle_mod
15-
sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))
1614

15+
sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))
16+
from utils.angle import angle_mod
1717
from PathPlanning.CubicSpline import cubic_spline_planner
1818

1919
Kp = 1.0 # speed proportional gain

0 commit comments

Comments
 (0)