inflate(map,radius)
inflates each occupied position of the map by the radius given in
meters. radius is rounded up to the nearest cell equivalent based on
the resolution of the map. Every cell within the radius is set to true
(1).
inflate(map,gridradius,'grid')
inflates each occupied position by the radius given in number of cells.
Map representation, specified as a binaryOccupancyMap object.
This object represents the environment of the robot. The object contains a matrix grid
with binary values indicating obstacles as true
(1) and free locations as false
(0).
radius — Dimension the defines how much to inflate occupied locations scalar
Dimension that defines how much to inflate occupied locations,
specified as a scalar. radius is rounded up to
the nearest cell value.
Data Types: double
gridradius — Dimension the defines how much to inflate occupied locations positive scalar
Dimension that defines how much to inflate occupied locations,
specified as a positive scalar. gridradius is the
number of cells to inflate the occupied locations.