Display map and vehicle, slowly, in pixel coordinates

This commit is contained in:
simondlevy
2016-08-23 12:07:49 -04:00
parent 74d93af6d1
commit 81dfdadc43
2 changed files with 16 additions and 26 deletions

View File

@@ -100,12 +100,12 @@ def main():
x_mm, y_mm, theta_degrees = slam.getpos()
# Get new map
#slam.getmap(mapbytes)
slam.getmap(mapbytes)
# Display map and robot pose
#display.displayMap(mapbytes)
display.displayMap(mapbytes)
#display.setPose(x_mm, y_mm, theta_degrees)
display.setPose(x_mm, y_mm, theta_degrees)
# Exit gracefully if user closes display
if not display.refresh():