Skip to content

Commit

Permalink
Remove restriction that cost of obstacle cell cannot be set
Browse files Browse the repository at this point in the history
  • Loading branch information
petercorke committed Nov 18, 2018
1 parent 6f7c7cb commit f21c486
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dstar.m
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,7 @@ function modify(ds, x, y, newcost)
% a rectangular region is specified
for xx=xy(1,1):xy(1,2)
for yy=xy(2,1):xy(2,2)
if ~isinf(ds.costmap(yy,xx))
modify(ds, xx, yy, newcost);
end
end
end
elseif numcols(xy) == numel(newcost)
Expand Down

0 comments on commit f21c486

Please sign in to comment.