Mobile robot path planning- Valid or feasible path

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?

回答 (1 件)

Ajay Pattassery
Ajay Pattassery 2020 年 9 月 30 日

0 投票

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.

カテゴリ

製品

リリース

R2020a

質問済み:

2020 年 7 月 16 日

回答済み:

2020 年 9 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by