Main Content
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