mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-13 14:48:02 -05:00
fix test and add test for EKF
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
12
tests/test_extended_kalman_filter.py
Normal file
12
tests/test_extended_kalman_filter.py
Normal 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()
|
||||
Reference in New Issue
Block a user