Main Content
mapClutter
Syntax
Description
generates a 2-D occupancy map
as a map
= mapClutterbinaryOccupancyMap
object map
, with a width and height of
50 meters and a resolution of 5 cells per meter. The map contains 20 randomly distributed
obstacles of types Box
and Circle
. Generated obstacles
have random sizes.
specifies options using one or more name-value pair arguments in addition to any combination
of input arguments from previous syntaxes. For example, map
= mapClutter(___,Name,Value
)'MapSize',[50 30]
generates a randomly distributed obstacle map with a width of 50 meters and height of 30
meters.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2020b