concepts.benchmark.namo.namo_polygon.namo_polygon_map_creator.NamoMapCreator#
- class NamoMapCreator[source]#
Bases:
object
Methods
Encode the map as a dictionary.
Encode the map as an image.
mainloop
()Attributes
- __new__(**kwargs)#
- AVAILABLE_MODES = ('poly', 'rect')#
- COLOR_FREE = (255, 255, 255)#
- COLOR_OBSTACLE = (255, 128, 128)#
- COLOR_REMOVING = (128, 128, 255)#
- COLOR_WALL = (0, 0, 0)#
- KEY_BINDINGS_DESCRIPTION = "\nKey bindings:\n\n- 'q': quit the current drawing process and enter the idle status.\n- 'a': start drawing an obstacle.\n- 'w': start drawing a wall.\n- 'd': start removing.\n- 'z': set the start position.\n- 'x': set the goal position.\n- 'f': finish the current drawing.\n- ESC: quit the program.\n"#