Skip to content

Commit dd1db88

Browse files
committed
add runtest script
1 parent 47f486c commit dd1db88

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

PathPlanning/PotentialFieldPlanning/potential_field_planning.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def calc_potential_field(gx, gy, ox, oy, reso, rr):
3333

3434
for ix in range(xw):
3535
x = ix * reso + minx
36+
3637
for iy in range(yw):
3738
y = iy * reso + miny
3839
ug = calc_attractive_potential(x, y, gx, gy)

runtests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
echo "Run test suites! "
2+
python -m unittest discover tests

0 commit comments

Comments
 (0)