Files
Robotics-at-Home-with-Raspb…/ch-13/3.4-movement-uncertainty/robot/arena.py
T
2023-01-08 23:11:35 +00:00

18 lines
341 B
Python

"""Represent the lines of the arena"""
try:
from ulab import numpy as np
except ImportError:
import numpy as np
boundary_lines = [
[(0,0), (0, 1500)],
[(0, 1500), (1500, 1500)],
[(1500, 1500), (1500, 500)],
[(1500, 500), (1000, 500)],
[(1000, 500), (1000, 0)],
[(1000, 0), (0, 0)],
]
width = 1500
height = 1500