Skip to content

Commit 3e017c9

Browse files
committed
fix closed RRT star test
1 parent 76977ac commit 3e017c9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_closed_loop_rrt_star_car.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
from unittest import TestCase
2-
import sys
31
import os
2+
import sys
3+
from unittest import TestCase
4+
45
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../")
56
sys.path.append(os.path.dirname(os.path.abspath(__file__)) +
67
"/../PathPlanning/ClosedLoopRRTStar/")
@@ -17,7 +18,7 @@ class Test(TestCase):
1718

1819
def test1(self):
1920
m.show_animation = False
20-
m.main(gx=1.0, gy=0.0, gyaw=0.0, maxIter=5)
21+
m.main(gx=1.0, gy=0.0, gyaw=0.0, max_iter=5)
2122

2223

2324
if __name__ == '__main__': # pragma: no cover

0 commit comments

Comments
 (0)