mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-02-10 19:34:56 -05:00
fix test and code clean up for lgtm
This commit is contained in:
@@ -285,11 +285,6 @@ def generate_local_course(L, lengths, mode, maxc, step_size):
|
||||
else:
|
||||
directions[0] = -1
|
||||
|
||||
if lengths[0] > 0.0:
|
||||
d = step_size
|
||||
else:
|
||||
d = -step_size
|
||||
|
||||
ll = 0.0
|
||||
|
||||
for (m, l, i) in zip(mode, lengths, range(len(mode))):
|
||||
|
||||
Reference in New Issue
Block a user