Files
Robotics-at-Home-with-Raspb…/ch-13/2.1-modelling-space-simple/display_arena.py
T
2022-12-28 18:44:53 +00:00

8 lines
177 B
Python

from matplotlib import pyplot as plt
import arena
for line in arena.boundary_lines:
plt.plot([line[0][0], line[1][0]], [line[0][1], line[1][1]], color="black")
plt.show()