MATLAB Answers

Mobile robot path planning- Valid or feasible path

2 views (last 30 days)
Hamza Turabieh
Hamza Turabieh on 16 Jul 2020
Answered: Ajay Pattassery on 30 Sep 2020
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?

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!