Main Content
checkOccupancy
Check if locations are free or occupied
Syntax
Description
This MATLAB® function returns the occupancy status of specified locations in an occupancy map.
returns a matrix of occupancy values by specifying the bottom-left corner
location in world coordinates and the matrix size in meters.occMatrix
= checkOccupancy(map
,bottomLeft
,matSize
)
returns a matrix of occupancy values by specifying the bottom-left corner
location in local coordinates and the matrix size in meters.occMatrix
= checkOccupancy(map
,bottomLeft
,matSize
,'local')
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2019b
See Also
occupancyMap
| getOccupancy
| binaryOccupancyMap
(Robotics System Toolbox)