checkOccupancy
Check if locations are free or occupied
Description
returns an array of occupancy values specified at the xyz
locations using the iOccval = checkOccupancy(map3D,xyz)OccupiedThreshold and
FreeThreshold properties of the input occupancyMap3D object. Each row is a separate
xyz location in the map to check the occupancy of.
Occupancy values can be obstacle-free (0), occupied (1), or unknown (–1).
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2019b
![Figure contains an axes object. The axes object with title Occupancy Map, xlabel X [meters], ylabel Y [meters] contains an object of type patch.](../../examples/nav/win64/CheckOccupancyStatusGetOccupancyValuesIn3DOccupancyMapExample_01.png)