add a test for graph_based_slam

This commit is contained in:
Atsushi Sakai
2018-03-28 22:13:13 -07:00
parent 5c7ef9b418
commit 79a07d857c
3 changed files with 18 additions and 0 deletions

View File

@@ -264,6 +264,8 @@ The black line is dead reckoning.
The red line is the estimated trajectory with Graph based SLAM.
The black stars are landmarks for graph edge generation.
![3](https://github.com/AtsushiSakai/PythonRobotics/raw/master/SLAM/GraphBasedSLAM/animation.gif)
Ref:

View File

@@ -4,6 +4,10 @@ Graph based SLAM example
author: Atsushi Sakai (@Atsushi_twi)
Ref
[A Tutorial on Graph-Based SLAM](http://www2.informatik.uni-freiburg.de/~stachnis/pdf/grisetti10titsmag.pdf)
"""
import numpy as np

View File

@@ -0,0 +1,12 @@
from unittest import TestCase
from SLAM.GraphBasedSLAM import graph_based_slam as m
print(__file__)
class Test(TestCase):
def test1(self):
m.show_animation = False
m.main()