# disabling contracts for speed
import contracts
contracts.disable_all()
import duckietown_world as dw
# reducing the verbosity to critical
# dw.logger.setLevel(50)
from duckietown_world.svg_drawing.ipython_utils import ipython_draw_svg, ipython_draw_html
It is possible to place things in "slots" in each tile.
By convention some of these slots are actually outside the tile.
tile = dw.Tile('asphalt', True)
print(dw.get_object_tree(tile, attributes=True, spatial_relations=True))
B=0.9
area = dw.RectangularArea([-B,-B], [B,B])
ipython_draw_html(tile, area=area);