Skip to content

Instantly share code, notes, and snippets.

@Noob-can-Compile
Created March 31, 2020 13:41
Show Gist options
  • Save Noob-can-Compile/04a4c136572121814f3fbc9966e62fef to your computer and use it in GitHub Desktop.
Save Noob-can-Compile/04a4c136572121814f3fbc9966e62fef to your computer and use it in GitHub Desktop.
# import the helper function
from helpers import display_world
# Display the final world!
# define figure size
plt.rcParams["figure.figsize"] = (20,20)
# check if poses has been created
if 'poses' in locals():
# print out the last pose
print('Last pose: ', poses[-1])
# display the last position of the robot *and* the landmark positions
display_world(int(world_size), poses[-1], landmarks)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment