Works with roboviz.MapVisualizer instead of Visualizer
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user