fix test and add test for EKF

This commit is contained in:
Atsushi Sakai
2018-01-25 11:59:04 -08:00
parent 92cb693cfc
commit 592c1ce683
2 changed files with 14 additions and 0 deletions

View File

@@ -65,6 +65,8 @@ class RRT():
# generate coruse
lastIndex = self.get_best_last_index()
if lastIndex is None:
return None
path = self.gen_final_course(lastIndex)
return path

View File

@@ -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()