Insert ray from laser scan observation
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.