File tree 4 files changed +11
-8
lines changed
4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 11
11
import numpy as np
12
12
import scipy .linalg as la
13
13
import pathlib
14
- from utils .angle import angle_mod
15
- sys .path .append (str (pathlib .Path (__file__ ).parent .parent .parent ))
16
14
15
+ sys .path .append (str (pathlib .Path (__file__ ).parent .parent .parent ))
16
+ from utils .angle import angle_mod
17
17
from PathPlanning .CubicSpline import cubic_spline_planner
18
18
19
19
# === Parameters =====
Original file line number Diff line number Diff line change 11
11
import numpy as np
12
12
import sys
13
13
import pathlib
14
- from utils .angle import angle_mod
15
- sys .path .append (str (pathlib .Path (__file__ ).parent .parent .parent ))
16
14
15
+ sys .path .append (str (pathlib .Path (__file__ ).parent .parent .parent ))
16
+ from utils .angle import angle_mod
17
17
from PathPlanning .CubicSpline import cubic_spline_planner
18
18
19
19
Kp = 1.0 # speed proportional gain
Original file line number Diff line number Diff line change 8
8
import matplotlib .pyplot as plt
9
9
import math
10
10
import numpy as np
11
- from utils . angle import angle_mod
12
-
11
+ import sys
12
+ import pathlib
13
13
from scipy import interpolate
14
14
from scipy import optimize
15
15
16
+ sys .path .append (str (pathlib .Path (__file__ ).parent .parent .parent ))
17
+ from utils .angle import angle_mod
18
+
16
19
Kp = 1.0 # speed proportional gain
17
20
# steering control parameter
18
21
KTH = 1.0
Original file line number Diff line number Diff line change 13
13
import matplotlib .pyplot as plt
14
14
import sys
15
15
import pathlib
16
- from utils .angle import angle_mod
17
- sys .path .append (str (pathlib .Path (__file__ ).parent .parent .parent ))
18
16
17
+ sys .path .append (str (pathlib .Path (__file__ ).parent .parent .parent ))
18
+ from utils .angle import angle_mod
19
19
from PathPlanning .CubicSpline import cubic_spline_planner
20
20
21
21
k = 0.5 # control gain
You can’t perform that action at this time.
0 commit comments