Functions | |
def | bottom_left |
def | decompose |
def | generate_intersections |
def | get_furthest |
def | order_points |
def | sort_to |
Variables | |
list | ext = [(1, 1), (-3, 11), (4, 16), (10, 10)] |
tuple | ll = LineString(tf_result) |
tuple | origin = rotate_to(np.array([(1,1)]),rt) |
tuple | polygon = Polygon(ext) |
tuple | polygon_points = np.array(polygon.exterior) |
tuple | result = decompose(tf_polygon, origin, width=0.5) |
tuple | rt = RotationTransform(66) |
tuple | tf_polygon = rotate_polygon_to(polygon, rt) |
tuple | tf_result = rotate_from(np.array(result), rt) |
def automow_planning.coverage.bottom_left | ( | points | ) |
returns the bottom left point from the list of points given
Definition at line 83 of file coverage.py.
def automow_planning.coverage.decompose | ( | polygon, | |
origin = None , |
|||
width = 1.0 |
|||
) |
Decompose the field into a list of points to cover the field.
Definition at line 87 of file coverage.py.
def automow_planning.coverage.generate_intersections | ( | poly, | |
width | |||
) |
Definition at line 19 of file coverage.py.
def automow_planning.coverage.get_furthest | ( | ps, | |
origin | |||
) |
Definition at line 50 of file coverage.py.
def automow_planning.coverage.order_points | ( | lines, | |
initial_origin | |||
) |
Definition at line 56 of file coverage.py.
def automow_planning.coverage.sort_to | ( | point, | |
list | |||
) |
Definition at line 43 of file coverage.py.
list automow_planning::coverage::ext = [(1, 1), (-3, 11), (4, 16), (10, 10)] |
Definition at line 102 of file coverage.py.
tuple automow_planning::coverage::ll = LineString(tf_result) |
Definition at line 118 of file coverage.py.
tuple automow_planning::coverage::origin = rotate_to(np.array([(1,1)]),rt) |
Definition at line 110 of file coverage.py.
tuple automow_planning::coverage::polygon = Polygon(ext) |
Definition at line 103 of file coverage.py.
tuple automow_planning::coverage::polygon_points = np.array(polygon.exterior) |
Definition at line 104 of file coverage.py.
tuple automow_planning::coverage::result = decompose(tf_polygon, origin, width=0.5) |
Definition at line 113 of file coverage.py.
tuple automow_planning::coverage::rt = RotationTransform(66) |
Definition at line 106 of file coverage.py.
tuple automow_planning::coverage::tf_polygon = rotate_polygon_to(polygon, rt) |
Definition at line 108 of file coverage.py.
tuple automow_planning::coverage::tf_result = rotate_from(np.array(result), rt) |
Definition at line 116 of file coverage.py.