Works with roboviz.MapVisualizer instead of Visualizer

This commit is contained in:
simondlevy
2019-01-04 01:45:26 -05:00
parent e2e6ce53a1
commit c5ac00142e
5 changed files with 10 additions and 10 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 roboviz import Visualizer
from roboviz import MapVisualizer
from sys import argv, exit
from time import sleep
@@ -111,7 +111,7 @@ def main():
else Deterministic_SLAM(MinesLaser(), MAP_SIZE_PIXELS, MAP_SIZE_METERS)
# Set up a SLAM display, named by dataset
display = Visualizer(MAP_SIZE_PIXELS, MAP_SIZE_METERS, dataset)
display = MapVisualizer(MAP_SIZE_PIXELS, MAP_SIZE_METERS, dataset)
# Pose will be modified in our threaded code
pose = [0,0,0]