updateOccupancy
Update occupancy probability at locations
Syntax
Description
This MATLAB® function probabilistically integrates occupancy values into the occupancy values of an occupancy map.
updateOccupancy(
probabilistically integrates a matrix of occupancy
values, map
,occMatrix
)occMatrix
, with the
current occupancy matrix of the occupancyMap
object
map
. The size of the matrix
must be equal to the GridSize
property of map.
updateOccupancy(
probabilistically integrates observation values,
map
,locations
,obs
)obs
, into the occupancy map
cells corresponding to the
n-by-2 matrix of world
coordinates locations
.
Observation values are determined based on the
Inverse Sensor Model.
updateOccupancy(
probabilistically integrates an
m-by-n
matrix of observation values,
map
,bottomLeft
,obsMatrix
)obsMatrix
, into a subregion
in the map. Specify the bottom-left corner of the
subregion as a world position,
bottomLeft
. The subregion
extends m rows up and
n columns to the right from the
specified position.
updateOccupancy(
probabilistically integrates an
m-by-n
matrix of observation values,
map
,bottomLeft
,obsMatrix
,'world')obsMatrix
, into a subregion
in the map. Specify the bottom-left corner of the
subregion as a world position,
bottomLeft
. The subregion
extends m rows up and
n columns to the right from the
specified position.
updateOccupancy(
probabilistically integrates an
m-by-n
matrix of observation values,
map
,bottomLeft
,obsMatrix
,'local')obsMatrix
, into a subregion
in the map. Specify the bottom-left corner of the
subregion as a local position,
bottomLeft
. The subregion
extends m rows up and
n columns to the right from the
specified position.
updateOccupancy(
probabilistically integrates an
m-by-n
matrix of observation values,
map
,topLeft
,obsMatrix
,'grid')obsMatrix
, into a subregion
in the map. Specify the top-left corner of the
subregion as a grid index,
topLeft
. The subregion
extends m rows down and
n columns to the right from the
specified index.
Examples
Input Arguments
More About
Extended Capabilities
Version History
Introduced in R2019b