File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1111import numpy as np
1212import scipy .linalg as la
1313import 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
1717from PathPlanning .CubicSpline import cubic_spline_planner
1818
1919# === Parameters =====
Original file line number Diff line number Diff line change 1111import numpy as np
1212import sys
1313import 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
1717from PathPlanning .CubicSpline import cubic_spline_planner
1818
1919Kp = 1.0 # speed proportional gain
Original file line number Diff line number Diff line change 88import matplotlib .pyplot as plt
99import math
1010import numpy as np
11- from utils . angle import angle_mod
12-
11+ import sys
12+ import pathlib
1313from scipy import interpolate
1414from scipy import optimize
1515
16+ sys .path .append (str (pathlib .Path (__file__ ).parent .parent .parent ))
17+ from utils .angle import angle_mod
18+
1619Kp = 1.0 # speed proportional gain
1720# steering control parameter
1821KTH = 1.0
Original file line number Diff line number Diff line change 1313import matplotlib .pyplot as plt
1414import sys
1515import pathlib
16- from utils .angle import angle_mod
17- sys .path .append (str (pathlib .Path (__file__ ).parent .parent .parent ))
1816
17+ sys .path .append (str (pathlib .Path (__file__ ).parent .parent .parent ))
18+ from utils .angle import angle_mod
1919from PathPlanning .CubicSpline import cubic_spline_planner
2020
2121k = 0.5 # control gain
You can’t perform that action at this time.
0 commit comments