Skip to content

Commit 4e32321

Browse files
committed
start fix the bug.
1 parent 123c4f7 commit 4e32321

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

PathPlanning/DubinsPath/dubins_path_planning.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ def dubins_path_planning(sx, sy, syaw, ex, ey, eyaw, c, D_ANGLE=np.deg2rad(10.0)
212212

213213

214214
def generate_course(length, mode, c, D_ANGLE):
215-
216215
px = [0.0]
217216
py = [0.0]
218217
pyaw = [0.0]
@@ -299,7 +298,6 @@ def main():
299298

300299

301300
def test():
302-
303301
NTEST = 5
304302

305303
for i in range(NTEST):
@@ -320,7 +318,7 @@ def test():
320318
plt.cla()
321319
# for stopping simulation with the esc key.
322320
plt.gcf().canvas.mpl_connect('key_release_event',
323-
lambda event: [exit(0) if event.key == 'escape' else None])
321+
lambda event: [exit(0) if event.key == 'escape' else None])
324322
plt.plot(px, py, label="final course " + str(mode))
325323

326324
# plotting

0 commit comments

Comments
 (0)