Switched to PyRoboViz for visualization

This commit is contained in:
simondlevy
2019-01-03 15:27:30 -05:00
parent 5d20b17e7d
commit 8b3e13f09b
7 changed files with 12 additions and 162 deletions

View File

@@ -40,7 +40,7 @@ MAP_SIZE_METERS = 32
from breezyslam.algorithms import Deterministic_SLAM, RMHC_SLAM
from mines import MinesLaser, Rover, load_data
from pltslamshow import SlamShow
from roboviz import Visualizer
from sys import argv, exit
from time import sleep
@@ -112,7 +112,7 @@ def main():
else Deterministic_SLAM(MinesLaser(), MAP_SIZE_PIXELS, MAP_SIZE_METERS)
# Set up a SLAM display, named by dataset
display = SlamShow(MAP_SIZE_PIXELS, MAP_SIZE_METERS*1000/MAP_SIZE_PIXELS, dataset)
display = Visualizer(MAP_SIZE_PIXELS, MAP_SIZE_METERS*1000/MAP_SIZE_PIXELS, dataset)
# Pose will be modified in our threaded code
pose = [0,0,0]