plannerBenchmark
Description
plannerBenchmark object benchmarks the 2-D path planners by
running them on a specified environment with specified start and goal poses.
The plannerBenchmark object calculates the following metrics:
clearance— Minimum distance to obstacles in the environmentexecutionTime— Time taken by plan function to executeinitializationTime— Time taken by initialization function to executeisPathValid— If true represent the path exists and is collision freepathLength— Length of the generated pathsmoothness— Smoothness of the path for all poses
The metrics like executionTime and
initializationTime are calculated during the execution of planners. The
metrics like clearance, isPathValid,
pathLength, and smoothness are calculated from the
resulting path outputs after executing planners. Calculated metrics are statistically
summarized as a table and can be visualized as plots.
Creation
Description
creates a plannerBM = plannerBenchmark(environment,start,goal)plannerBenchmark object with the specified
environment, start and
goal poses. The inputs environment,
start, and goal sets the
Environment, Start, and
Goal properties, respectively.
Properties
Object Functions
addPlanner | Add path planner for benchmarking |
copy | Create deep copy of plannerBenchmark object |
metric | Return path planner metrics |
report | Create benchmark report |
runPlanner | Run path planners |
show | Visualize path planner metrics |
Examples
Version History
Introduced in R2022a

