Path planning using plannerAStarGrid in meters

2 ビュー (過去 30 日間)
Michal Mihálik
Michal Mihálik 2021 年 10 月 26 日
編集済み: Ankur Srivastava 2021 年 12 月 7 日
Is it possible to path planning using the plannerAStarGrid function in meters? Because how to create a planner is by default in rows and columns even if the map was specified in meters. Or is it possible to do some conversion of these rows and columns to meters?

採用された回答

Ankur Srivastava
Ankur Srivastava 2021 年 12 月 7 日
編集済み: Ankur Srivastava 2021 年 12 月 7 日
% Creating a blank map
map = binaryOccupancyMap(10,10);
% Creating plannerAStarGrid object
astar = plannerAStarGrid(map);
% Planning in grid frame i.e. row/column
pathRC = astar.plan([1 1],[4,9]);
% Planning in world fram i.e. XY plane in meters
path = astar.plan([1.5 1.5],[4.5 9],'world')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMotion Planning についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by