Skip to content

Commit

Permalink
fix test and add test for EKF
Browse files Browse the repository at this point in the history
  • Loading branch information
AtsushiSakai committed Jan 25, 2018
1 parent 92cb693 commit 592c1ce
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PathPlanning/RRTStarReedsShepp/rrt_star_reeds_shepp.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ def Planning(self, animation=True):

# generate coruse
lastIndex = self.get_best_last_index()
if lastIndex is None:
return None
path = self.gen_final_course(lastIndex)
return path

Expand Down
12 changes: 12 additions & 0 deletions tests/test_extended_kalman_filter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from unittest import TestCase

from Localization.extended_kalman_filter import extended_kalman_filter as m

print(__file__)


class Test(TestCase):

def test1(self):
m.show_animation = False
m.main()

0 comments on commit 592c1ce

Please sign in to comment.