Main Content
rayIntersection
Find intersection points of rays and occupied map cells
Description
returns intersection points of rays and occupied cells in the specified
intersectionPts
= rayIntersection(map
,pose
,angles
,maxrange
)map
. Rays emanate from the specified
pose
and angles
. Intersection
points are returned in the world coordinate frame. If there is no intersection
up to the specified maxrange
, [NaN NaN]
is returned.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2019b