Files
PythonRobotics/tests/test_graph_based_slam.py
2019-02-06 09:44:06 +09:00

25 lines
405 B
Python

from unittest import TestCase
import sys
import os
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../")
try:
from SLAM.GraphBasedSLAM import graph_based_slam as m
except:
raise
print(__file__)
class Test(TestCase):
def test1(self):
m.show_animation = False
m.SIM_TIME = 20.0
m.main()
if __name__ == '__main__':
test = Test()
test.test1()