There was an error while loading. Please reload this page.
1 parent c7a0983 commit 51594ecCopy full SHA for 51594ec
1 file changed
src/scenic/domains/driving/behaviors/walks.scenic
@@ -77,6 +77,7 @@ def getBugPath(actor, path_ls, backgroundObjects, bufferConst=1):
77
start_pt_s = exterior_ls.project(start_pt, normalized=True)
78
exterior_ls = LineString(list(shapely.ops.substring(exterior_ls, start_pt_s, 1, normalized=True).coords)
79
+ list(shapely.ops.substring(exterior_ls, 0, start_pt_s, normalized=True).coords))
80
+ exterior_ls = shapely.remove_repeated_points(exterior_ls)
81
end_pt_ls = exterior_ls.project(end_pt, normalized=True)
82
exterior_segments = [
83
shapely.ops.substring(exterior_ls, 0, end_pt_ls, normalized=True),
0 commit comments