Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def footprintCost(self, footprint: Polygon):

return max(float(self.lineCost(xstart, x1, ystart, y1)), footprint_cost)

def lineCost(self, x0, x1, y0, y1, step_size=0.1):
def lineCost(self, x0, x1, y0, y1, step_size=0.5):
"""
Iterate over all the points along a line and check for collision.

Expand All @@ -101,7 +101,7 @@ def lineCost(self, x0, x1, y0, y1, step_size=0.1):
y0 (float): Ordinate of the initial point in map coordinates
x1 (float): Abscissa of the final point in map coordinates
y1 (float): Ordinate of the final point in map coordinates
step_size (float): Optional, Increments' resolution, defaults to 0.1
step_size (float): Optional, Increments' resolution, defaults to 0.5

Returns
-------
Expand Down