add comments

This commit is contained in:
Atsushi Sakai
2018-03-21 15:57:20 -07:00
parent d3e0c46d1e
commit 1c45232d93

View File

@@ -197,9 +197,10 @@ def main():
import matplotlib.pyplot as plt
x = [-2.5, 0.0, 2.5, 5.0, 7.5, 3.0, -1.0]
y = [0.7, -6, 5, 6.5, 0.0, 5.0, -2.0]
ds = 0.1 # [m] distance of each intepolated points
sp = Spline2D(x, y)
s = np.arange(0, sp.s[-1], 0.1)
s = np.arange(0, sp.s[-1], ds)
rx, ry, ryaw, rk = [], [], [], []
for i_s in s: