xy = findpath(prm,start,goal)
finds an obstacle-free path between start and
goal locations within prm, a roadmap
object that contains a network of connected points.
If any properties of prm change, or if the roadmap is not
created, update is called.
xy — Waypoints for a path between start and goal n-by-2 column vector
Waypoints for a path between start and goal, specified as a
n-by-2 column vector of [x y]
pairs, where n is the number of waypoints. These pairs
represent the solved path from the start and
goal locations, given the roadmap from the
prm input object.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.