Mobile robot path planning- Valid or feasible path

4 views (last 30 days)
Am trying to build a genetic algorithm to find the shortest path. findpath() use A* which is build in.
My question is: Is there a function or method to examine new generated path that is valid or not?

Answers (1)

Ajay Pattassery
Ajay Pattassery on 30 Sep 2020
You can use statevalidator to validate whether a state is valid or not. Also the path generated between states can also be validated.
validatorOccupancyMap is a state validator based on 2-D grid map. This might be helpful for your case of validating A* path(Assuming 2D scenario).
You can also create your own validator using createPlanningTemplate.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!