Find intersection points of rays and occupied map cells
returns intersection points of rays and occupied cells in the specifiedintersectionPts
= rayIntersection(map
,pose
,angles
,maxrange
)map
. Rays emanate from the specifiedpose
andangles
. Intersection points are returned in the world coordinate frame. If there is no intersection up to the specifiedmaxrange
,[NaN NaN]
is returned.
binaryOccupancyMap
|occupancyMap