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

@@ -28,7 +28,7 @@ from breezyslam.sensors import URG04LX as LaserModel
from breezylidar import URG04LX as Lidar
from pltslamshow import SlamShow
from roboviz import Visualizer
if __name__ == '__main__':
@@ -39,7 +39,7 @@ if __name__ == '__main__':
slam = RMHC_SLAM(LaserModel(), MAP_SIZE_PIXELS, MAP_SIZE_METERS)
# Set up a SLAM display
display = SlamShow(MAP_SIZE_PIXELS, MAP_SIZE_METERS*1000/MAP_SIZE_PIXELS, 'SLAM')
display = Visualizer(MAP_SIZE_PIXELS, MAP_SIZE_METERS*1000/MAP_SIZE_PIXELS, 'SLAM')
# Initialize empty map
mapbytes = bytearray(MAP_SIZE_PIXELS * MAP_SIZE_PIXELS)