mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-12 08:28:05 -05:00
add a test for graph_based_slam
This commit is contained in:
@@ -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.
|
||||
|
||||

|
||||
|
||||
Ref:
|
||||
|
||||
@@ -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
|
||||
|
||||
12
tests/test_graph_based_slam.py
Normal file
12
tests/test_graph_based_slam.py
Normal 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()
|
||||
Reference in New Issue
Block a user