insertRay
Insert ray from laser scan observation
Syntax
Description
insertRay(
inserts one or more lidar scan sensor observations in the occupancy grid,
map,pose,scan,maxrange)map, using the input lidarScan object,
scan, to get ray endpoints. End point locations are updated
with an occupied value. If the ranges are above maxrange,
the ray endpoints are considered free space. All other points along the ray are
treated as obstacle-free.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2019b
![Figure contains an axes object. The axes object with title Binary Occupancy Grid, xlabel X [meters], ylabel Y [meters] contains an object of type image.](../../examples/nav_robotics/win64/InsertLaserScansIntoOccupancyMapExample_01.png)