plannerAStarGrid
Description
The plannerAStarGrid
object creates an A* path planner. The
planner performs an A* search on an occupancy map and finds shortest obstacle-free path
between the specified start and goal grid locations as determined by heuristic
cost.
Creation
Syntax
Description
creates a
planner
= plannerAStarGridplannerAStarGrid
object with a binaryOccupancyMap
object using a width and height of 10 meters and grid
resolution of 1 cell per meter.
creates a planner
= plannerAStarGrid(map
)plannerAStarGrid
object using the specified map object
map
. Specify map
as either a binaryOccupancyMap
or occupancyMap
object. The
map
input sets the value of the Map
property.
sets Properties using
one or more name-value pairs. Unspecified properties have default values. Enclose each
property name in quotes.planner
= plannerAStarGrid(___,Name,Value
)
For example, plannerAStarGrid(map,'GCost','Manhattan')
creates an
A* path planner object using the Manhattan cost function.
Properties
Object Functions
Examples
Extended Capabilities
Version History
Introduced in R2020b
See Also
binaryOccupancyMap
| occupancyMap
| plannerRRT
| plannerRRTStar
| plannerHybridAStar