Skip to content

Commit f21c486

Browse files
committed
Remove restriction that cost of obstacle cell cannot be set
1 parent 6f7c7cb commit f21c486

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Dstar.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,7 @@ function modify(ds, x, y, newcost)
342342
% a rectangular region is specified
343343
for xx=xy(1,1):xy(1,2)
344344
for yy=xy(2,1):xy(2,2)
345-
if ~isinf(ds.costmap(yy,xx))
346345
modify(ds, xx, yy, newcost);
347-
end
348346
end
349347
end
350348
elseif numcols(xy) == numel(newcost)

0 commit comments

Comments
 (0)